summaryrefslogtreecommitdiffstats
path: root/examples/pokedex
diff options
context:
space:
mode:
authorLibravatar Richard Custodio <richardcustodio@pm.me>2024-03-18 18:24:57 -0300
committerLibravatar Richard Custodio <richardcustodio@pm.me>2024-03-18 18:24:57 -0300
commit8ed62541af8cd16760b59d8f0a49d619d78f592e (patch)
tree83736da592bb41b487ef21ff13c10470ac22656c /examples/pokedex
parentdb7d8680ce198439921c8856b2d6d0ccfa4d66ff (diff)
downloadiced-8ed62541af8cd16760b59d8f0a49d619d78f592e.tar.gz
iced-8ed62541af8cd16760b59d8f0a49d619d78f592e.tar.bz2
iced-8ed62541af8cd16760b59d8f0a49d619d78f592e.zip
fix: run `cargo fmt`
Diffstat (limited to 'examples/pokedex')
-rw-r--r--examples/pokedex/src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/pokedex/src/main.rs b/examples/pokedex/src/main.rs
index 61e75116..6ba6fe66 100644
--- a/examples/pokedex/src/main.rs
+++ b/examples/pokedex/src/main.rs
@@ -109,9 +109,7 @@ impl Pokemon {
column![
row![
text(&self.name).size(30).width(Length::Fill),
- text!("#{}", self.number)
- .size(20)
- .color([0.5, 0.5, 0.5]),
+ text!("#{}", self.number).size(20).color([0.5, 0.5, 0.5]),
]
.align_items(Alignment::Center)
.spacing(20),