Skip to content

Commit 6308ef8

Browse files
committed
Fix style and comments issues
1 parent 8dd9915 commit 6308ef8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/unistd.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -760,10 +760,9 @@ pub fn execvpe(filename: &CString, args: &[CString], env: &[CString]) -> Result<
760760
///
761761
/// This function is similar to `execve`, except that the program to be executed
762762
/// is referenced as a file descriptor instead of a path.
763-
///
764-
/// Note for NetBSD and OpenBSD: although rust-lang/libc includes it (under
765-
/// unix/bsd/netbsdlike/) fexecve is not currently implemented on NetBSD nor on
766-
/// OpenBSD.
763+
// Note for NetBSD and OpenBSD: although rust-lang/libc includes it (under
764+
// unix/bsd/netbsdlike/) fexecve is not currently implemented on NetBSD nor on
765+
// OpenBSD.
767766
#[cfg(any(target_os = "android",
768767
target_os = "linux",
769768
target_os = "freebsd"))]

test/test_stat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use nix::sys::stat::{self, fchmod, fchmodat, futimens, stat, utimes, utimensat};
1414
target_os = "macos",
1515
target_os = "freebsd",
1616
target_os = "netbsd"))]
17-
use nix::sys::stat::{lutimes};
17+
use nix::sys::stat::lutimes;
1818
use nix::sys::stat::{Mode, FchmodatFlags, UtimensatFlags};
1919

2020
#[cfg(not(any(target_os = "netbsd")))]

0 commit comments

Comments
 (0)