Skip to content

Commit

Permalink
Use any() in code shared between FreeBSD and NetBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
alarixnia committed Nov 4, 2019
1 parent 23d2211 commit b4f92ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/unix/rand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ mod imp {
}
}

#[cfg(target_os = "freebsd", target_os = "netbsd")]
#[cfg(any(target_os = "freebsd", target_os = "netbsd"))]
mod imp {
use crate::ptr;

Expand Down

0 comments on commit b4f92ea

Please sign in to comment.