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
Would it be a good idea to add chained comparison to rust?
I feel like it would be a good idea to have the ability to do 1 <= num <= 512 instead of having to 1 <= num || num <= 512.
1 <= num <= 512
1 <= num || num <= 512
I think having the num || num is more verbose and could be done with chained comparison which is a lot simpler and in my opinion easier to read.
num || num
The text was updated successfully, but these errors were encountered:
#2083 never mind found this, i like how github search just didnt show this.
Sorry, something went wrong.
No branches or pull requests
Would it be a good idea to add chained comparison to rust?
I feel like it would be a good idea to have the ability to do
1 <= num <= 512
instead of having to1 <= num || num <= 512
.I think having the
num || num
is more verbose and could be done with chained comparison which is a lot simpler and in my opinion easier to read.The text was updated successfully, but these errors were encountered: