diff --git a/examples/testing/src/main.rs b/examples/testing/src/main.rs index 99cc0402..5ca2a0ce 100644 --- a/examples/testing/src/main.rs +++ b/examples/testing/src/main.rs @@ -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!" }))