diff options
Diffstat (limited to 'vendor/rustix/src/fs/cwd.rs')
-rw-r--r-- | vendor/rustix/src/fs/cwd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/rustix/src/fs/cwd.rs b/vendor/rustix/src/fs/cwd.rs index d0455cd6c..0abd75df6 100644 --- a/vendor/rustix/src/fs/cwd.rs +++ b/vendor/rustix/src/fs/cwd.rs @@ -26,7 +26,7 @@ use backend::fd::{BorrowedFd, RawFd}; pub const fn cwd() -> BorrowedFd<'static> { let at_fdcwd = backend::io::types::AT_FDCWD as RawFd; - // Safety: `AT_FDCWD` is a reserved value that is never dynamically + // SAFETY: `AT_FDCWD` is a reserved value that is never dynamically // allocated, so it'll remain valid for the duration of `'static`. unsafe { BorrowedFd::<'static>::borrow_raw(at_fdcwd) } } |