diff --git a/rand_core/src/lib.rs b/rand_core/src/lib.rs index a5a7fb150c..292c57ffb8 100644 --- a/rand_core/src/lib.rs +++ b/rand_core/src/lib.rs @@ -245,6 +245,7 @@ pub trait SeedableRng: Sized { /// /// const N: usize = 64; /// pub struct MyRngSeed(pub [u8; N]); + /// # #[allow(dead_code)] /// pub struct MyRng(MyRngSeed); /// /// impl Default for MyRngSeed {