diff --git a/tests/wildcard.rs b/tests/wildcard.rs index 7ecf6ec0..bb45752c 100644 --- a/tests/wildcard.rs +++ b/tests/wildcard.rs @@ -25,7 +25,7 @@ async fn add_two(req: Request<()>) -> Result { async fn echo_param(req: Request<()>) -> tide::Result { match req.param("param") { Ok(path) => Ok(path.into()), - Err(e) => Ok(StatusCode::NotFound.into()), + Err(_) => Ok(StatusCode::NotFound.into()), } }