Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 1 addition & 2 deletions examples/src/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 1 addition & 2 deletions examples/src/custom_key_bearer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down