diff --git a/src/bytes.rs b/src/bytes.rs index 80e8aead..1d3fdecd 100644 --- a/src/bytes.rs +++ b/src/bytes.rs @@ -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(&mut self, contents: T) -> Result where T: Into>, diff --git a/src/str.rs b/src/str.rs index b9c65f23..87efb5e6 100644 --- a/src/str.rs +++ b/src/str.rs @@ -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(&mut self, contents: T) -> Result where T: Into>,