summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/fs/raw_dir.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/fs/raw_dir.rs')
-rw-r--r--vendor/rustix/src/fs/raw_dir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/rustix/src/fs/raw_dir.rs b/vendor/rustix/src/fs/raw_dir.rs
index 780ff0e89..bad0bf97b 100644
--- a/vendor/rustix/src/fs/raw_dir.rs
+++ b/vendor/rustix/src/fs/raw_dir.rs
@@ -209,7 +209,7 @@ impl<'buf, Fd: AsFd> RawDir<'buf, Fd> {
file_type: dirent.d_type,
inode_number: dirent.d_ino.into(),
next_entry_cookie: dirent.d_off.into(),
- // SAFETY: the kernel guarantees a NUL terminated string.
+ // SAFETY: The kernel guarantees a NUL-terminated string.
file_name: unsafe { CStr::from_ptr(dirent.d_name.as_ptr().cast()) },
}))
}