Skip to content

Commit 1a29e82

Browse files
committed
Remove conflicting TryFrom impls on 32-bit targets.
1 parent ba74a86 commit 1a29e82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/num/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2664,12 +2664,12 @@ mod ptr_try_from_impls {
26642664
try_from_both_bounded!(isize, i8, i16);
26652665
try_from_unbounded!(isize, i32, i64, i128);
26662666

2667-
rev!(try_from_unbounded, usize, u8, u16, u32);
2667+
rev!(try_from_unbounded, usize, u16, u32);
26682668
rev!(try_from_upper_bounded, usize, u64, u128);
26692669
rev!(try_from_lower_bounded, usize, i8, i16, i32);
26702670
rev!(try_from_both_bounded, usize, i64, i128);
26712671

2672-
rev!(try_from_unbounded, isize, u8, u16);
2672+
rev!(try_from_unbounded, isize, u16);
26732673
rev!(try_from_upper_bounded, isize, u32, u64, u128);
26742674
rev!(try_from_unbounded, isize, i8, i16, i32);
26752675
rev!(try_from_both_bounded, isize, i64, i128);

0 commit comments

Comments
 (0)