diff --git a/rand_isaac/src/isaac.rs b/rand_isaac/src/isaac.rs index a1bd3781..853165d1 100644 --- a/rand_isaac/src/isaac.rs +++ b/rand_isaac/src/isaac.rs @@ -453,7 +453,7 @@ mod test { } #[test] - #[cfg(all(feature="serde1"))] + #[cfg(feature="serde1")] fn test_isaac_serde() { use bincode; use std::io::{BufWriter, BufReader}; diff --git a/rand_isaac/src/isaac64.rs b/rand_isaac/src/isaac64.rs index 30c494a8..c09ec51d 100644 --- a/rand_isaac/src/isaac64.rs +++ b/rand_isaac/src/isaac64.rs @@ -445,7 +445,7 @@ mod test { } #[test] - #[cfg(all(feature="serde1"))] + #[cfg(feature="serde1")] fn test_isaac64_serde() { use bincode; use std::io::{BufWriter, BufReader}; diff --git a/rand_xorshift/src/xorshift.rs b/rand_xorshift/src/xorshift.rs index cf122966..26fea7ff 100644 --- a/rand_xorshift/src/xorshift.rs +++ b/rand_xorshift/src/xorshift.rs @@ -178,7 +178,7 @@ mod tests { } } - #[cfg(all(feature="serde1"))] + #[cfg(feature="serde1")] #[test] fn test_xorshift_serde() { use bincode;