mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
This replaces all the occurrences of the <collection>.len() == 0 with the <collection>.is_empty() and the occurrences of the <collection>.len() > 0 with the !<collection>.is_empty() Relevant clippy warning: https://rust-lang.github.io/rust-clippy/master/index.html#len_zero