silence unused_qualification clippys warning due to async traits
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
416c6b1778
commit
ad8d1dc68a
5 changed files with 9 additions and 0 deletions
|
@ -39,6 +39,7 @@ where
|
|||
{
|
||||
type Rejection = Error;
|
||||
|
||||
#[allow(unused_qualifications)] // async traits
|
||||
async fn from_request(req: Request<B>, _state: &S) -> Result<Self, Self::Rejection> {
|
||||
let (mut parts, mut body) = match req.with_limited_body() {
|
||||
Ok(limited_req) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue