sagiegurari / cargo-make

Rust task runner and build tool.
https://sagiegurari.github.io/cargo-make/
Apache License 2.0
2.46k stars 123 forks source link

error: variable does not need to be mutable #1089

Closed yurivict closed 3 days ago

yurivict commented 1 month ago

Describe The Bug

Build fails:

error: variable does not need to be mutable
    --> src/lib/types.rs:1249:37
     | 
1249 | ...                   for mut routing_info in &mut routing_info_vector {
     |                           ----^^^^^^^^^^^^
     |                           |
     |                           help: remove this `mut`
     |                        
note: the lint level is defined here
    --> src/lib/mod.rs:120:5
     |
120  |     unused_mut,
     |     ^^^^^^^^^^

warning: `cargo-make` (lib) generated 7 warnings
error: could not compile `cargo-make` (lib) due to 1 previous error; 7 warnings emitted

rust-1.78.0 FreeBSD 14.0

sagiegurari commented 1 month ago

thanks, will fix it.

sagiegurari commented 3 days ago

fixed