veloren/world
floppy 1a5c1ae319 length comparison to zero in /civ/mod.rs
warning: length comparison to zero
   --> world/src/civ/mod.rs:482:15
    |
482 |         while to_explore.len() > 0 {
    |               ^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!to_explore.is_empty()`
    |
    = note: `#[warn(clippy::len_zero)]` on by default
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero

warning: length comparison to zero
   --> world/src/civ/mod.rs:489:19
    |
489 |             while to_floodfill.len() > 0 {
    |                   ^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!to_floodfill.is_empty()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
2022-01-18 00:41:59 +01:00
..
benches Fixed clippy warnings and fmt 2021-03-07 14:25:07 +00:00
examples update toolchain to nightly-2021-12-19 2021-12-23 13:04:24 +01:00
src length comparison to zero in /civ/mod.rs 2022-01-18 00:41:59 +01:00
Cargo.toml Bump tracing-subscriber to 0.3.2 2021-11-26 17:41:51 +00:00
economy_testinput2.ron Accelerate econsim using arrays instead of hashmaps 2021-06-20 16:00:37 +00:00
economy_testinput.ron Implement /price_list (work in progress), stub for /buy and /sell 2021-03-14 03:18:32 +00:00