Co-authored-by: Marco Colombo <mar.colombo13@gmail.com>
This commit is contained in:
Ralf Jung 2022-07-20 10:39:21 -04:00 committed by GitHub
parent 5848c27c79
commit 2d1c683112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,7 @@ unsafe impl IsRawEqComparable<$t> for $t {}
)+};
}
// SAFETY: All the ordinary integer types have no padding, and are no poointers.
// SAFETY: All the ordinary integer types have no padding, and are no pointers.
is_raw_eq_comparable!(u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize);
// SAFETY: bool and char have *niches*, but no *padding* (and these are not pointer types), so this