Skip to content

Commit

Permalink
Feature gate some stuff in Xor test to prevent warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
UserAB1236872 committed Jan 22, 2018
1 parent 844651b commit 5531b44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/prng/xorshift.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ impl Rand for XorShiftRng {

#[cfg(test)]
mod tests {
#[cfg(feature="serde-1")]
use {Rng, SeedableRng};

#[cfg(feature="serde-1")]
Expand Down

0 comments on commit 5531b44

Please sign in to comment.