Skip to content

Commit

Permalink
remove not found __arg2 (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
secana committed Jun 6, 2022
1 parent 0eca16f commit 8b19ddb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/fairing.rs
Expand Up @@ -26,7 +26,6 @@ impl rocket::route::Handler for FairingErrorRoute {
request: &'r Request<'_>,
_: rocket::Data<'r>,
) -> rocket::route::Outcome<'r> {
let _ = &__arg2;
let status = request
.param::<u16>(0)
.unwrap_or(Ok(0))
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Expand Up @@ -2003,7 +2003,6 @@ impl rocket::route::Handler for CatchAllOptionsRouteHandler {
request: &'r Request<'_>,
_: rocket::Data<'r>,
) -> rocket::route::Outcome<'r> {
let _ = &__arg2;
let guard: Guard<'_> = match request.guard().await {
Outcome::Success(guard) => guard,
Outcome::Failure((status, _)) => return rocket::route::Outcome::failure(status),
Expand Down

0 comments on commit 8b19ddb

Please sign in to comment.