refactor: replace text(format!( with text macro
This commit is contained in:
parent
6146382676
commit
bf9bbf4a3e
18 changed files with 41 additions and 41 deletions
|
|
@ -109,7 +109,7 @@ impl Pokemon {
|
|||
column![
|
||||
row![
|
||||
text(&self.name).size(30).width(Length::Fill),
|
||||
text(format!("#{}", self.number))
|
||||
text!("#{}", self.number)
|
||||
.size(20)
|
||||
.color([0.5, 0.5, 0.5]),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue