Remove usage of isize
in example
`isize` is a rare integer type, replace it with a more common one.
This commit is contained in:
parent
f989d2f625
commit
eb0ed28ced
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ declare_lint! {
|
|||
/// ```rust,compile_fail
|
||||
/// #![deny(box_pointers)]
|
||||
/// struct Foo {
|
||||
/// x: Box<isize>,
|
||||
/// x: Box<i32>,
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
|
|
Loading…
Add table
Reference in a new issue