Replies: 1 comment
-
|
Agree, for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, it suggests to simplify it to
!foo.is_empty(), but I find this negation harder to read. Suggestion: (optionally) only warn for thefoo.length() == 0-case. I don't like the clippy-warning in Rust either.Beta Was this translation helpful? Give feedback.
All reactions