Skip to content

Commit f5737bf

Browse files
committed
lint
1 parent 2552cd4 commit f5737bf

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

library/std/src/sys/pal/unix/process/process_unix.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,7 @@ impl Command {
191191

192192
// Attempts to fork the process. If successful, returns Ok((0, -1))
193193
// in the child, and Ok((child_pid, -1)) in the parent.
194-
#[cfg(not(any(
195-
target_os = "watchos",
196-
target_os = "tvos",
197-
target_os = "nto",
198-
)))]
194+
#[cfg(not(any(target_os = "watchos", target_os = "tvos", target_os = "nto",)))]
199195
unsafe fn do_fork(&mut self) -> Result<pid_t, io::Error> {
200196
cvt(libc::fork())
201197
}

src/bootstrap/src/core/sanity.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ pub struct Finder {
3838
// Targets can be removed from this list once they are present in the stage0 compiler (usually by updating the beta compiler of the bootstrap).
3939
#[cfg(not(feature = "bootstrap-self-test"))]
4040
const STAGE0_MISSING_TARGETS: &[&str] = &[
41-
"aarch64-unknown-nto-qnx700"
42-
// just a dummy comment so the list doesn't get onelined
41+
"aarch64-unknown-nto-qnx700", // just a dummy comment so the list doesn't get onelined
4342
];
4443

4544
/// Minimum version threshold for libstdc++ required when using prebuilt LLVM

0 commit comments

Comments
 (0)