2022-11-21 13:34:47 -06:00
|
|
|
error: called `.collect::<Vec<String>>().join("")` on an iterator
|
2022-03-24 08:50:04 -05:00
|
|
|
--> $DIR/unnecessary_join.rs:11:10
|
|
|
|
|
|
|
|
|
LL | .collect::<Vec<String>>()
|
|
|
|
| __________^
|
|
|
|
LL | | .join("");
|
|
|
|
| |_________________^ help: try using: `collect::<String>()`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::unnecessary-join` implied by `-D warnings`
|
|
|
|
|
2022-11-21 13:34:47 -06:00
|
|
|
error: called `.collect::<Vec<String>>().join("")` on an iterator
|
2022-03-24 08:50:04 -05:00
|
|
|
--> $DIR/unnecessary_join.rs:20:10
|
|
|
|
|
|
|
|
|
LL | .collect::<Vec<_>>()
|
|
|
|
| __________^
|
|
|
|
LL | | .join("");
|
|
|
|
| |_________________^ help: try using: `collect::<String>()`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|