Skip to content

Commit b4f92ea

Browse files
committed
Use any() in code shared between FreeBSD and NetBSD
1 parent 23d2211 commit b4f92ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/rand.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ mod imp {
143143
}
144144
}
145145

146-
#[cfg(target_os = "freebsd", target_os = "netbsd")]
146+
#[cfg(any(target_os = "freebsd", target_os = "netbsd"))]
147147
mod imp {
148148
use crate::ptr;
149149

0 commit comments

Comments
 (0)