1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-07-01 12:15:08 +02:00

Use old clippy attributes syntax (#562)

This commit is contained in:
Stanislav Tkach
2018-11-01 10:14:48 +02:00
committed by Douman
parent cfd9a56ff7
commit 3b536ee96c
11 changed files with 14 additions and 14 deletions

View File

@ -48,7 +48,7 @@ impl DefaultHeaders {
/// Set a header.
#[inline]
#[cfg_attr(feature = "cargo-clippy", allow(clippy::match_wild_err_arm))]
#[cfg_attr(feature = "cargo-clippy", allow(match_wild_err_arm))]
pub fn header<K, V>(mut self, key: K, value: V) -> Self
where
HeaderName: HttpTryFrom<K>,