Skip to content

Commit

Permalink
Make module name consistent with tower
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpdrsn committed Feb 22, 2022
1 parent 8c6c736 commit 9c47131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion axum-extra/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
}
Expand Down
2 changes: 1 addition & 1 deletion axum/src/middleware/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9c47131

Please sign in to comment.