diff options
author | 2021-04-12 23:23:47 -0700 | |
---|---|---|
committer | 2021-04-12 23:23:47 -0700 | |
commit | 983aa1b3665c6b546700767d21d73de72372ddad (patch) | |
tree | 3817ea9bcd373a099cfbfed155f8c489daf92865 /examples/pokedex | |
parent | 0722d5e3ec307fd82a1cc76593d17d83cf828943 (diff) | |
download | iced-983aa1b3665c6b546700767d21d73de72372ddad.tar.gz iced-983aa1b3665c6b546700767d21d73de72372ddad.tar.bz2 iced-983aa1b3665c6b546700767d21d73de72372ddad.zip |
Run cargo fmt
Diffstat (limited to 'examples/pokedex')
-rw-r--r-- | examples/pokedex/src/main.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/pokedex/src/main.rs b/examples/pokedex/src/main.rs index d2f1bb62..da1d5d5d 100644 --- a/examples/pokedex/src/main.rs +++ b/examples/pokedex/src/main.rs @@ -213,7 +213,10 @@ impl Pokemon { } async fn fetch_image(id: u16) -> Result<image::Handle, reqwest::Error> { - let url = format!("https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/{}.png", id); + let url = format!( + "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/{}.png", + id + ); #[cfg(not(target_arch = "wasm32"))] { |