mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-22 00:00:17 +02:00
Add missing import of http in docs example (#1613)
This commit is contained in:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user