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