Skip to content

Commit

Permalink
Remove allow pragmas for clippy::missing_panics_docs
Browse files Browse the repository at this point in the history
This false positive was addressed in rust-lang/rust-clippy#6996.
  • Loading branch information
lopopolo committed Sep 4, 2021
1 parent f3ab0ed commit 17d3af6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/mt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ impl Mt19937GenRand32 {
/// assert_ne!(mt.next_u32(), mt.next_u32());
/// ```
#[inline]
#[allow(clippy::missing_panics_doc)]
pub fn next_u32(&mut self) -> u32 {
// Failing this check indicates that, somehow, the structure
// was not initialized.
Expand Down
1 change: 0 additions & 1 deletion src/mt64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ impl Mt19937GenRand64 {
/// assert_ne!(mt.next_u64(), mt.next_u64());
/// ```
#[inline]
#[allow(clippy::missing_panics_doc)]
pub fn next_u64(&mut self) -> u64 {
// Failing this check indicates that, somehow, the structure
// was not initialized.
Expand Down

0 comments on commit 17d3af6

Please sign in to comment.