summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-11-10 16:35:13 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-11-10 16:35:13 +0700
commite6627bb96ded028bb6e820965c271430870af629 (patch)
tree789e07ad8158610dd21f53e62952675112b2e5d5 /examples
parent0245f289b201c8b352dcffcd35e0f0d283085ee2 (diff)
downloadiced-e6627bb96ded028bb6e820965c271430870af629.tar.gz
iced-e6627bb96ded028bb6e820965c271430870af629.tar.bz2
iced-e6627bb96ded028bb6e820965c271430870af629.zip
Fix formatting with `cargo fmt`
Diffstat (limited to 'examples')
-rw-r--r--examples/tour/src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs
index c98ecea7..b0e87920 100644
--- a/examples/tour/src/main.rs
+++ b/examples/tour/src/main.rs
@@ -496,9 +496,7 @@ impl<'a> Step {
.padding(20)
.spacing(20)
.push(Text::new("You can change its size:"))
- .push(
- Text::new(format!("This text is {} pixels", size)).size(size),
- )
+ .push(Text::new(format!("This text is {} pixels", size)).size(size))
.push(Slider::new(
size_slider,
10..=70,