Use any() in code shared between FreeBSD and NetBSD

This commit is contained in:
nia 2019-11-04 17:34:29 +00:00
parent 23d221153f
commit b4f92eaea2

View File

@ -143,7 +143,7 @@ pub fn fill_bytes(v: &mut [u8]) {
}
}
#[cfg(target_os = "freebsd", target_os = "netbsd")]
#[cfg(any(target_os = "freebsd", target_os = "netbsd"))]
mod imp {
use crate::ptr;