1
Fork 0

clippy::complexity changes

This commit is contained in:
Matthias Krüger 2021-10-16 10:18:17 +02:00
parent 6cc0a764e0
commit c645d3f3b9
5 changed files with 9 additions and 11 deletions

View file

@ -1837,7 +1837,7 @@ crate fn show_candidates(
.skip(1)
.all(|(_, descr, _)| descr == descr_first)
{
format!("{}", descr_first)
descr_first.to_string()
} else {
"item".to_string()
};