Skip to content

Commit eb0ed28

Browse files
committed
Remove usage of isize in example
`isize` is a rare integer type, replace it with a more common one.
1 parent f989d2f commit eb0ed28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint/src/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ declare_lint! {
142142
/// ```rust,compile_fail
143143
/// #![deny(box_pointers)]
144144
/// struct Foo {
145-
/// x: Box<isize>,
145+
/// x: Box<i32>,
146146
/// }
147147
/// ```
148148
///

0 commit comments

Comments
 (0)