Auto merge of #90668 - matthiaskrgr:clippy_nov7, r=jyn514
more clippy fixes
This commit is contained in:
commit
46b8e7488e
27 changed files with 140 additions and 184 deletions
|
@ -309,7 +309,7 @@ impl Collector<'tcx> {
|
|||
.libs
|
||||
.iter()
|
||||
.filter_map(|lib| lib.name.as_ref())
|
||||
.any(|n| &n.as_str() == &lib.name);
|
||||
.any(|n| n.as_str() == lib.name);
|
||||
if new_name.is_empty() {
|
||||
self.tcx.sess.err(&format!(
|
||||
"an empty renaming target was specified for library `{}`",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue