diff options
Diffstat (limited to 'vendor/rustix/src/process/uname.rs')
-rw-r--r-- | vendor/rustix/src/process/uname.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/rustix/src/process/uname.rs b/vendor/rustix/src/process/uname.rs index 95dec2699..904532a99 100644 --- a/vendor/rustix/src/process/uname.rs +++ b/vendor/rustix/src/process/uname.rs @@ -65,7 +65,7 @@ impl Uname { #[inline] fn to_cstr<'a>(ptr: *const u8) -> &'a CStr { - // Safety: Strings returned from the kernel are always NUL-terminated. + // SAFETY: Strings returned from the kernel are always NUL-terminated. unsafe { CStr::from_ptr(ptr.cast()) } } } |