We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In chains of ors, it can look nice to have all the branches look equal. For example:
or
route_1 .or(route_2) .or(route_3)
This doesn't look nice as the first route is at a different indentation level to all the other routes, and isn't surrounded by brackets.
If a none/no filter was added to Warp (opposite of any), the above could be written as:
none
no
any
warp::none() .or(route_1) .or(route_2) .or(route_3)
Which allows the code to look cleaner and more consistent.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In chains of
or
s, it can look nice to have all the branches look equal. For example:This doesn't look nice as the first route is at a different indentation level to all the other routes, and isn't surrounded by brackets.
If a
none
/no
filter was added to Warp (opposite ofany
), the above could be written as:Which allows the code to look cleaner and more consistent.
The text was updated successfully, but these errors were encountered: