Use is_empty() instead of comparing len() with 0.
Use is_empty() instead of comparing len() with 0.

https://github.com/rust-lang-nursery/rust-clippy/wiki#len_zero

sunfishcode/cretonne,stoklund/cretonne,sunfishcode/cretonne,sunfishcode/cretonne,stoklund/cretonne,stoklund/cretonne