Skip to content

Commit

Permalink
avoid the need for users to add http as an explicit dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Nov 20, 2022
1 parent 8d2fb36 commit 75c4891
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions axum/src/handler/mod.rs
Expand Up @@ -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() {}
Expand Down

0 comments on commit 75c4891

Please sign in to comment.