diff --git a/src/random.rs b/src/random.rs index 7ed9b0e1..4498a18a 100644 --- a/src/random.rs +++ b/src/random.rs @@ -294,7 +294,6 @@ mod test { fn sample_bool() { let mut context = Context::new(); context.init_random(42); - let result = context.sample_bool(FooRng, 0.5); - assert!(result == true || result == false); + let _r: bool = context.sample_bool(FooRng, 0.5); } }