mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
Use std::future::ready (#231)
`std::future::ready` has been stable since 1.48 so since axum's MSRV is 1.51 we can use this rather the one from `futures_util`.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use super::*;
|
||||
use futures_util::future::{pending, ready};
|
||||
use std::future::{pending, ready};
|
||||
use tower::{timeout::TimeoutLayer, MakeService};
|
||||
|
||||
async fn unit() {}
|
||||
|
||||
Reference in New Issue
Block a user