Skip to content

Commit fbdf4cb

Browse files
author
Jorge Aparicio
committed
remove some anys that are no longer necessary
1 parent 24dc3ce commit fbdf4cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/libstd/rtdeps.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
//
2020
// On Linux, librt and libdl are indirect dependencies via std,
2121
// and binutils 2.22+ won't add them automatically
22-
#[cfg(all(target_os = "linux", not(any(target_env = "musl"))))]
22+
#[cfg(all(target_os = "linux", not(target_env = "musl")))]
2323
#[link(name = "dl")]
2424
#[link(name = "pthread")]
2525
extern {}

src/libstd/sys/unix/thread.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ impl Drop for Thread {
171171
}
172172
}
173173

174-
#[cfg(all(not(all(target_os = "linux", not(any(target_env = "musl")))),
174+
#[cfg(all(not(all(target_os = "linux", not(target_env = "musl"))),
175175
not(target_os = "freebsd"),
176176
not(target_os = "macos"),
177177
not(target_os = "bitrig"),
@@ -185,7 +185,7 @@ pub mod guard {
185185
}
186186

187187

188-
#[cfg(any(all(target_os = "linux", not(any(target_env = "musl"))),
188+
#[cfg(any(all(target_os = "linux", not(target_env = "musl")),
189189
target_os = "freebsd",
190190
target_os = "macos",
191191
target_os = "bitrig",

0 commit comments

Comments
 (0)