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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user