mirror of
https://github.com/rust-lang/rust
synced 2024-09-30 13:54:31 +00:00
Rollup merge of #125659 - tbu-:pr_rm_isize, r=pnkfelix
Remove usage of `isize` in example `isize` is a rare integer type, replace it with a more common one.
This commit is contained in:
commit
ecc0046fb6
|
@ -142,7 +142,7 @@ fn check_expr(&mut self, cx: &EarlyContext<'_>, e: &ast::Expr) {
|
|||
/// ```rust,compile_fail
|
||||
/// #![deny(box_pointers)]
|
||||
/// struct Foo {
|
||||
/// x: Box<isize>,
|
||||
/// x: Box<i32>,
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue