rust-course
rust-course copied to clipboard
change len == 0 to is_empty()
The original code was not compliant with the use of the Rust norm due to avoidance. https://rust-lang.github.io/rust-clippy/master/index.html#len_zero