]> git.proxmox.com Git - rustc.git/blobdiff - vendor/rustix/src/process/uname.rs
Update upstream source from tag 'upstream/1.70.0+dfsg1'
[rustc.git] / vendor / rustix / src / process / uname.rs
index 95dec2699279a9c970442e0acceec334b4362297..904532a99c0614b72a067c132b04f7d41dc7432d 100644 (file)
@@ -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()) }
     }
 }