chore(clippy): fix warnings from nightly

This commit is contained in:
graelo 2022-12-10 15:58:44 +01:00
parent ea8b25c2a7
commit f08cf307c6
5 changed files with 9 additions and 23 deletions

View file

@ -114,7 +114,7 @@ impl Alphabet {
let gen: Vec<String> = letters
.iter()
.take(n - lead.len() - prev.len())
.map(|c| format!("{}{}", prefix, c))
.map(|c| format!("{prefix}{c}"))
.collect();
// Insert gen in front of prev