Update library/core/src/ffi/mod.rs

Co-authored-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
Yonggang Luo 2022-05-03 10:42:46 +08:00 committed by GitHub
parent 1d5948f473
commit 2e69549043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,7 +179,7 @@ mod c_long_definition {
pub type c_ulong = u64;
pub type NonZero_c_ulong = crate::num::NonZeroU64;
} else {
// The minimal size of `long` in c standard are 32 bits
// The minimal size of `long` in the C standard is 32 bits
pub type c_long = i32;
pub type NonZero_c_long = crate::num::NonZeroI32;
pub type c_ulong = u32;