Make module name consistent with tower

This commit is contained in:
David Pedersen
2022-02-22 13:33:10 +01:00
parent 8c6c736d3d
commit 9c47131d90
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ pub mod middleware {
//! Create middleware from async functions.
pub use axum::middleware::{
from_fn, futures::FromFnResponseFuture as ResponseFuture, FromFn as MiddlewareFn,
from_fn, future::FromFnResponseFuture as ResponseFuture, FromFn as MiddlewareFn,
FromFnLayer as MiddlewareFnLayer, Next,
};
}
+1 -1
View File
@@ -6,7 +6,7 @@ mod from_fn;
pub use self::from_fn::{from_fn, FromFn, FromFnLayer, Next};
pub mod futures {
pub mod future {
//! Future types.
pub use super::from_fn::ResponseFuture as FromFnResponseFuture;