summaryrefslogtreecommitdiffstats
path: root/examples/integration/src/controls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/integration/src/controls.rs')
-rw-r--r--examples/integration/src/controls.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/integration/src/controls.rs b/examples/integration/src/controls.rs
index 28050f8a..5359d54f 100644
--- a/examples/integration/src/controls.rs
+++ b/examples/integration/src/controls.rs
@@ -78,7 +78,7 @@ impl Program for Controls {
container(
column![
text("Background color").color(Color::WHITE),
- text(format!("{background_color:?}"))
+ text!("{background_color:?}")
.size(14)
.color(Color::WHITE),
text_input("Placeholder", &self.input)