Fix formatting with cargo fmt

This commit is contained in:
Héctor Ramón Jiménez 2021-11-10 16:35:13 +07:00
parent 0245f289b2
commit e6627bb96d
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -496,9 +496,7 @@ impl<'a> Step {
.padding(20) .padding(20)
.spacing(20) .spacing(20)
.push(Text::new("You can change its size:")) .push(Text::new("You can change its size:"))
.push( .push(Text::new(format!("This text is {} pixels", size)).size(size))
Text::new(format!("This text is {} pixels", size)).size(size),
)
.push(Slider::new( .push(Slider::new(
size_slider, size_slider,
10..=70, 10..=70,