mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-02 00:00:22 +02:00
Drop unused use in doctests (#3185)
This commit is contained in:
@@ -103,7 +103,6 @@ impl DefaultBodyLimit {
|
|||||||
/// extract::DefaultBodyLimit,
|
/// extract::DefaultBodyLimit,
|
||||||
/// };
|
/// };
|
||||||
/// use tower_http::limit::RequestBodyLimitLayer;
|
/// use tower_http::limit::RequestBodyLimitLayer;
|
||||||
/// use http_body_util::Limited;
|
|
||||||
///
|
///
|
||||||
/// let app: Router<()> = Router::new()
|
/// let app: Router<()> = Router::new()
|
||||||
/// .route("/", get(|body: Bytes| async {}))
|
/// .route("/", get(|body: Bytes| async {}))
|
||||||
@@ -137,8 +136,6 @@ impl DefaultBodyLimit {
|
|||||||
/// body::{Bytes, Body},
|
/// body::{Bytes, Body},
|
||||||
/// extract::DefaultBodyLimit,
|
/// extract::DefaultBodyLimit,
|
||||||
/// };
|
/// };
|
||||||
/// use tower_http::limit::RequestBodyLimitLayer;
|
|
||||||
/// use http_body_util::Limited;
|
|
||||||
///
|
///
|
||||||
/// let app: Router<()> = Router::new()
|
/// let app: Router<()> = Router::new()
|
||||||
/// .route("/", get(|body: Bytes| async {}))
|
/// .route("/", get(|body: Bytes| async {}))
|
||||||
|
|||||||
Reference in New Issue
Block a user