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 fe0a74d commit 4578d6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@ where
/// # }
/// # example().unwrap();
/// ```
#[allow(clippy::missing_panics_doc)] // clippy in 1.51.0 gives a false positive on `debug_assert!`.
pub fn intern<T>(&mut self, contents: T) -> Result<Symbol, SymbolOverflowError>
where
T: Into<Cow<'static, [u8]>>,
Expand Down
1 change: 0 additions & 1 deletion src/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,6 @@ where
/// # }
/// # example().unwrap();
/// ```
#[allow(clippy::missing_panics_doc)] // clippy in 1.51.0 gives a false positive on `debug_assert!`.
pub fn intern<T>(&mut self, contents: T) -> Result<Symbol, SymbolOverflowError>
where
T: Into<Cow<'static, str>>,
Expand Down

0 comments on commit 4578d6a

Please sign in to comment.