Fix lints for Rust 1.86

This commit is contained in:
Héctor Ramón Jiménez 2025-04-03 16:59:55 +02:00
parent 1b22d7d5fc
commit 53ce0e3a88
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
6 changed files with 21 additions and 19 deletions

View file

@ -33,7 +33,7 @@ impl Pokedex {
let subtitle = match self {
Pokedex::Loading => "Loading",
Pokedex::Loaded { pokemon, .. } => &pokemon.name,
Pokedex::Errored { .. } => "Whoops!",
Pokedex::Errored => "Whoops!",
};
format!("{subtitle} - Pokédex")