blob: a06a1059033b7496560bf2cfb6f6e723e8602e39 [file] [log] [blame]
error: called `.collect::<Vec<String>>().join("")` on an iterator
--> tests/ui/unnecessary_join.rs:10:10
|
LL | .collect::<Vec<String>>()
| __________^
LL | | .join("");
| |_________________^ help: consider using: `collect::<String>()`
|
= note: `-D clippy::unnecessary-join` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_join)]`
error: called `.collect::<Vec<String>>().join("")` on an iterator
--> tests/ui/unnecessary_join.rs:19:10
|
LL | .collect::<Vec<_>>()
| __________^
LL | | .join("");
| |_________________^ help: consider using: `collect::<String>()`
error: aborting due to 2 previous errors