clippy::complexity changes
This commit is contained in:
parent
6cc0a764e0
commit
c645d3f3b9
5 changed files with 9 additions and 11 deletions
|
@ -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()
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue