diff --git a/README.md b/README.md index d2b1aac..0c09e38 100644 --- a/README.md +++ b/README.md @@ -78,8 +78,7 @@ async fn main() { .route("/", get(hello)) .layer(GovernorLayer::new(governor_conf)); - // run our app with hyper - // `axum::Server` is a re-export of `hyper::Server` + // run our app with axum let addr = SocketAddr::from(([127, 0, 0, 1], 3000)); tracing::debug!("listening on {}", addr); let listener = TcpListener::bind(addr).await.unwrap(); diff --git a/examples/src/basic.rs b/examples/src/basic.rs index e2401a2..1405d0a 100644 --- a/examples/src/basic.rs +++ b/examples/src/basic.rs @@ -44,8 +44,7 @@ async fn main() { .route("/", get(hello)) .layer(GovernorLayer::new(governor_conf)); - // run our app with hyper - // `axum::Server` is a re-export of `hyper::Server` + // run our app with axum let addr = SocketAddr::from(([127, 0, 0, 1], 3000)); tracing::debug!("listening on {}", addr); let listener = TcpListener::bind(addr).await.unwrap(); diff --git a/examples/src/custom_key_bearer.rs b/examples/src/custom_key_bearer.rs index f894340..f23cba3 100644 --- a/examples/src/custom_key_bearer.rs +++ b/examples/src/custom_key_bearer.rs @@ -62,8 +62,7 @@ async fn main() { .route("/", get(hello)) .layer(GovernorLayer::new(governor_conf)); - // run our app with hyper - // `axum::Server` is a re-export of `hyper::Server` + // run our app with axum let addr = SocketAddr::from(([127, 0, 0, 1], 3000)); tracing::debug!("listening on {}", addr); let listener = TcpListener::bind(addr).await.unwrap();