Remove usage of isize in example

`isize` is a rare integer type, replace it with a more common one.
This commit is contained in:
Tobias Bucher 2024-05-28 15:31:26 +02:00
parent f989d2f625
commit eb0ed28ced

View File

@ -142,7 +142,7 @@ fn check_expr(&mut self, cx: &EarlyContext<'_>, e: &ast::Expr) {
/// ```rust,compile_fail /// ```rust,compile_fail
/// #![deny(box_pointers)] /// #![deny(box_pointers)]
/// struct Foo { /// struct Foo {
/// x: Box<isize>, /// x: Box<i32>,
/// } /// }
/// ``` /// ```
/// ///