mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-21 22:56:46 +01:00
Tell clippy about MSRV (#114)
* Remove unused import * Tell clippy about MSRV
This commit is contained in:
parent
09ecd42b32
commit
d285dfb568
3 changed files with 3 additions and 7 deletions
1
.clippy.toml
Normal file
1
.clippy.toml
Normal file
|
@ -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;
|
||||
|
|
|
@ -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))]
|
||||
|
|
Loading…
Reference in a new issue