Skip to content

Commit

Permalink
Rollup merge of rust-lang#125659 - tbu-:pr_rm_isize, r=pnkfelix
Browse files Browse the repository at this point in the history
Remove usage of `isize` in example

`isize` is a rare integer type, replace it with a more common one.
  • Loading branch information
jieyouxu authored Jun 11, 2024
2 parents e45cfc7 + eb0ed28 commit 999ac87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_lint/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ declare_lint! {
/// ```rust,compile_fail
/// #![deny(box_pointers)]
/// struct Foo {
/// x: Box<isize>,
/// x: Box<i32>,
/// }
/// ```
///
Expand Down

0 comments on commit 999ac87

Please sign in to comment.