Fix clippy lints for all crates and features
... and check those in CI as well!
This commit is contained in:
parent
d53cc5498b
commit
2065a40f64
55 changed files with 237 additions and 232 deletions
|
|
@ -192,8 +192,7 @@ impl Pokemon {
|
|||
let description = entry
|
||||
.flavor_text_entries
|
||||
.iter()
|
||||
.filter(|text| text.language.name == "en")
|
||||
.next()
|
||||
.find(|text| text.language.name == "en")
|
||||
.ok_or(Error::LanguageError)?;
|
||||
|
||||
Ok(Pokemon {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue