Skip to content

Commit

Permalink
Allow new warning on recent nightly versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Jan 26, 2024
1 parent 1db3aa4 commit a372676
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rand_core/src/lib.rs
Original file line number Diff line number Diff line change
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 a372676

Please sign in to comment.