diff --git a/axum/src/handler/mod.rs b/axum/src/handler/mod.rs index 6a2df1e6d5d..a52f09f2373 100644 --- a/axum/src/handler/mod.rs +++ b/axum/src/handler/mod.rs @@ -5,8 +5,7 @@ //! Some examples of handlers: //! //! ```rust -//! use axum::body::Bytes; -//! use http::StatusCode; +//! use axum::{body::Bytes, http::StatusCode}; //! //! // Handler that immediately returns an empty `200 OK` response. //! async fn unit_handler() {}