Skip to content

Commit

Permalink
Allow new warning on recent nightly versions (#1376)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Jan 26, 2024
1 parent 1db3aa4 commit 1f4507a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rand_core/src/lib.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit 1f4507a

Please sign in to comment.