1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-20 04:35:38 +02:00

remove crate level clippy lint

This commit is contained in:
Rob Ede
2021-12-22 07:16:07 +00:00
parent 17f636a183
commit 64c2e5e1cd
6 changed files with 12 additions and 9 deletions

View File

@@ -43,6 +43,7 @@ pub struct Message<T: Head> {
impl<T: Head> Message<T> {
/// Get new message from the pool of objects
#[allow(clippy::new_without_default)]
pub fn new() -> Self {
T::with_pool(MessagePool::get_message)
}