mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-07 00:00:15 +02:00
Tell clippy about MSRV (#114)
* Remove unused import * Tell clippy about MSRV
This commit is contained in:
@@ -0,0 +1 @@
|
||||
msrv = "1.40"
|
||||
@@ -1,4 +1,4 @@
|
||||
use super::{rejection::TypedHeaderRejection, take_body, FromRequest, RequestParts};
|
||||
use super::{rejection::TypedHeaderRejection, FromRequest, RequestParts};
|
||||
use async_trait::async_trait;
|
||||
use headers::HeaderMap;
|
||||
use std::ops::Deref;
|
||||
|
||||
+1
-6
@@ -705,12 +705,7 @@
|
||||
missing_docs
|
||||
)]
|
||||
#![deny(unreachable_pub, broken_intra_doc_links, private_in_public)]
|
||||
#![allow(
|
||||
elided_lifetimes_in_paths,
|
||||
// TODO: Remove this once the MSRV bumps to 1.42.0 or above.
|
||||
clippy::match_like_matches_macro,
|
||||
clippy::type_complexity
|
||||
)]
|
||||
#![allow(elided_lifetimes_in_paths, clippy::type_complexity)]
|
||||
#![forbid(unsafe_code)]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
#![cfg_attr(test, allow(clippy::float_cmp))]
|
||||
|
||||
Reference in New Issue
Block a user