Skip to content

Commit

Permalink
Add missing import of http in docs example (#1613)
Browse files Browse the repository at this point in the history
  • Loading branch information
cemremengu committed Dec 2, 2022
1 parent ee3cb97 commit 5826ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axum/src/middleware/from_fn.rs
Expand Up @@ -29,7 +29,7 @@ use tower_service::Service;
/// ```rust
/// use axum::{
/// Router,
/// http::{Request, StatusCode},
/// http::{self, Request, StatusCode},
/// routing::get,
/// response::{IntoResponse, Response},
/// middleware::{self, Next},
Expand Down

0 comments on commit 5826ca2

Please sign in to comment.