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

clippy warnings

This commit is contained in:
Nikolay Kim
2018-03-09 10:11:38 -08:00
parent b56be8e571
commit 717602472a
3 changed files with 6 additions and 3 deletions

View File

@@ -121,7 +121,7 @@ impl HttpRequest<()> {
}
#[inline(always)]
#[cfg_attr(feature = "cargo-clippy", allow(inline_always))]
#[cfg_attr(feature="cargo-clippy", allow(inline_always))]
pub(crate) fn from_message(msg: SharedHttpInnerMessage) -> HttpRequest {
HttpRequest(msg, None, None)
}