We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
serde1
1 parent 19fc4e8 commit dda1780Copy full SHA for dda1780
src/rngs/mock.rs
@@ -75,6 +75,8 @@ mod tests {
75
#[test]
76
#[cfg(feature = "serde1")]
77
fn test_serialization_step_rng() {
78
+ use super::StepRng;
79
+
80
let some_rng = StepRng::new(42, 7);
81
let de_some_rng: StepRng =
82
bincode::deserialize(&bincode::serialize(&some_rng).unwrap()).unwrap();
0 commit comments