Skip to content

Commit bf8303d

Browse files
mattsu2020oech3
andauthored
Apply suggestion from @oech3
Co-authored-by: oech3 <79379754+oech3@users.noreply.github.com>
1 parent ce69b39 commit bf8303d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/uucore/src/lib/features/safe_traversal.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,6 @@ impl DirFd {
390390
/// symlinks, then chmods via /proc/self/fd/{fd}. This avoids the TOCTOU
391391
/// race because the fd pins the inode.
392392
///
393-
/// Uses rustix safe wrappers to avoid raw `unsafe` FFI calls.
394393
#[cfg(target_os = "linux")]
395394
fn chmod_at_via_opath(&self, name: &std::ffi::CStr, mode: u32) -> io::Result<()> {
396395
use rustix::fs::{Mode, OFlags, chmod, openat};

0 commit comments

Comments
 (0)