From 067993eb56e1769b930d4d4dcaec5355e8a9ae24 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 20 Jan 2025 12:58:47 +0100 Subject: [PATCH] Drop unused use in doctests (#3185) --- axum-core/src/extract/default_body_limit.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/axum-core/src/extract/default_body_limit.rs b/axum-core/src/extract/default_body_limit.rs index 3eae3753..b3fed6b8 100644 --- a/axum-core/src/extract/default_body_limit.rs +++ b/axum-core/src/extract/default_body_limit.rs @@ -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 {}))