diff options
Diffstat (limited to '')
| -rw-r--r-- | examples/pokedex/src/main.rs | 5 | 
1 files changed, 1 insertions, 4 deletions
| diff --git a/examples/pokedex/src/main.rs b/examples/pokedex/src/main.rs index c99240a1..85c26987 100644 --- a/examples/pokedex/src/main.rs +++ b/examples/pokedex/src/main.rs @@ -15,7 +15,6 @@ enum Pokedex {          search: button::State,      },      Errored { -        error: Error,          try_again: button::State,      },  } @@ -58,9 +57,8 @@ impl Application for Pokedex {                  Command::none()              } -            Message::PokemonFound(Err(error)) => { +            Message::PokemonFound(Err(_error)) => {                  *self = Pokedex::Errored { -                    error,                      try_again: button::State::new(),                  }; @@ -155,7 +153,6 @@ impl Pokemon {          #[derive(Debug, Deserialize)]          struct Entry { -            id: u32,              name: String,              flavor_text_entries: Vec<FlavorText>,          } | 
