Skip to content

Commit

Permalink
Remove unnecessary allow(dead_code) from testing example (#2117)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnestler committed Jul 25, 2023
1 parent 7093cee commit b20e66e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/testing/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ async fn main() {

/// Having a function that produces our app makes it easy to call it from tests
/// without having to create an HTTP server.
#[allow(dead_code)]
fn app() -> Router {
Router::new()
.route("/", get(|| async { "Hello, World!" }))
Expand Down

0 comments on commit b20e66e

Please sign in to comment.