Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
levkk committed Oct 29, 2024
1 parent 4a3bc8b commit 155de2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/middleware/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl Middleware for OnlyLinuxBrowsers {
}
}

return Ok(Outcome::Stop(request, Response::redirect("https://archlinux.org")))
return Ok(Outcome::Stop((request, Response::redirect("https://archlinux.org"))))
}
}
```
Expand Down

0 comments on commit 155de2c

Please sign in to comment.