Fix lints for Rust 1.86
This commit is contained in:
parent
1b22d7d5fc
commit
53ce0e3a88
6 changed files with 21 additions and 19 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue