Co-authored-by: Frank Steffahn <fdsteffahn@gmail.com>
This commit is contained in:
Ralf Jung 2022-08-10 16:15:21 -04:00 committed by GitHub
parent 2d1c683112
commit d1cace5a97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2277,7 +2277,7 @@ extern "rust-intrinsic" {
///
/// # Safety
///
/// It's UB to call this if any of the *bytes* in `*a` or `*b` are uninitialized or carries a
/// It's UB to call this if any of the *bytes* in `*a` or `*b` are uninitialized or carry a
/// pointer value.
/// Note that this is a stricter criterion than just the *values* being
/// fully-initialized: if `T` has padding, it's UB to call this intrinsic.