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
|
|
@ -54,7 +54,7 @@ impl SierpinskiEmulator {
|
|||
.width(Length::Fill)
|
||||
.height(Length::Fill),
|
||||
row![
|
||||
text(format!("Iteration: {:?}", self.graph.iteration)),
|
||||
text!("Iteration: {:?}", self.graph.iteration),
|
||||
slider(0..=10000, self.graph.iteration, Message::IterationSet)
|
||||
]
|
||||
.padding(10)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue