From 4578d6adb08f01d888fa45417690ca3bc6081230 Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Sat, 4 Sep 2021 11:28:47 -0700 Subject: [PATCH] Remove allow pragmas for clippy::missing_panics_docs This false positive was addressed in rust-lang/rust-clippy#6996. --- src/bytes.rs | 1 - src/str.rs | 1 - 2 files changed, 2 deletions(-) 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>,