Skip to content

Commit

Permalink
fix unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr committed Feb 21, 2021
1 parent 8bd0bb6 commit 1e394b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/wildcard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async fn add_two(req: Request<()>) -> Result<String, tide::Error> {
async fn echo_param(req: Request<()>) -> tide::Result<tide::Response> {
match req.param("param") {
Ok(path) => Ok(path.into()),
Err(e) => Ok(StatusCode::NotFound.into()),
Err(_) => Ok(StatusCode::NotFound.into()),
}
}

Expand Down

0 comments on commit 1e394b4

Please sign in to comment.