1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-04-26 13:56:22 +02:00

Add missing import of http in docs example ()

This commit is contained in:
Cemre Mengu 2022-12-02 17:47:04 +03:00 committed by GitHub
parent ee3cb971f7
commit 5826ca268c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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},