Skip to content

Commit a97588c

Browse files
committed
Update core::nonzero for isize/usize migration.
1 parent 79318b7 commit a97588c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/nonzero.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ pub unsafe trait Zeroable {}
1919
unsafe impl<T> Zeroable for *const T {}
2020
unsafe impl<T> Zeroable for *mut T {}
2121
unsafe impl<T> Zeroable for Unique<T> { }
22-
unsafe impl Zeroable for int {}
23-
unsafe impl Zeroable for uint {}
22+
unsafe impl Zeroable for isize {}
23+
unsafe impl Zeroable for usize {}
2424
unsafe impl Zeroable for i8 {}
2525
unsafe impl Zeroable for u8 {}
2626
unsafe impl Zeroable for i16 {}

0 commit comments

Comments
 (0)