From bf9bbf4a3edf22f21c79901999cc104cb29fccce Mon Sep 17 00:00:00 2001 From: Richard Custodio Date: Mon, 18 Mar 2024 17:08:56 -0300 Subject: refactor: replace `text(format!(` with `text` macro --- examples/integration/src/controls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/integration') 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) -- cgit