1
Fork 0

more clippy fixes: clippy::{iter_cloned_collect, unwarp_or_else_default, option_map_or_none}

This commit is contained in:
Matthias Krüger 2023-04-15 19:17:08 +02:00
parent e6e956dade
commit 6ef8648a48
4 changed files with 5 additions and 7 deletions

View file

@ -1317,7 +1317,7 @@ fn compare_number_of_generics<'tcx>(
impl_count,
kind,
pluralize!(impl_count),
suffix.unwrap_or_else(String::new),
suffix.unwrap_or_default(),
),
);
}