about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-24 12:57:08 +0000
committerbors <bors@rust-lang.org>2022-03-24 12:57:08 +0000
commite29b3b55a4ccbb9b3f94353684b8d5c46c5c76fb (patch)
treeae2dc1d1e15a698fe81730dd4313a25870e3d1a5 /compiler/rustc_codegen_gcc
parentf07ee8a998eff61977d594eeac44dc1d0ead7b02 (diff)
parentb60a7fb7b67566c611cfd0de94f76c5596a4915d (diff)
downloadrust-e29b3b55a4ccbb9b3f94353684b8d5c46c5c76fb.tar.gz
rust-e29b3b55a4ccbb9b3f94353684b8d5c46c5c76fb.zip
Auto merge of #8579 - yoav-lavi:squashed-master, r=flip1995
`unnecessary_join` lint

changelog: Adds a lint called ``[`unnecessary_join`]`` that detects cases of `.collect::<Vec<String>>.join("")` or `.collect::<Vec<_>>.join("")` on an iterator, suggesting `.collect::<String>()` instead

Fixes: https://github.com/rust-lang/rust-clippy/issues/8570

This is a reopen of https://github.com/rust-lang/rust-clippy/pull/8573

changelog: add lint [`unnecessary_join`]
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions