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
Improves readability
What is the advantage of the recommended code over the original code
For example:
None.
assert!(result.len() == self.data.len()); assert!(result.len() != self.data.len());
Could be written as:
assert_eq!(result.len(), self.data.len()); assert_ne!(result.len(), self.data.len());
The text was updated successfully, but these errors were encountered:
Duplicate of #6637
Sorry, something went wrong.
Thanks for your suggestion!
But I'm closing this because it seems to be a duplicate of #6637.
No branches or pull requests
What it does
Improves readability
Categories (optional)
What is the advantage of the recommended code over the original code
For example:
Drawbacks
None.
Example
Could be written as:
The text was updated successfully, but these errors were encountered: