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/pane_grid/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/pane_grid/src') diff --git a/examples/pane_grid/src/main.rs b/examples/pane_grid/src/main.rs index 829996d8..d4981024 100644 --- a/examples/pane_grid/src/main.rs +++ b/examples/pane_grid/src/main.rs @@ -285,7 +285,7 @@ fn view_content<'a>( .max_width(160); let content = column![ - text(format!("{}x{}", size.width, size.height)).size(24), + text!("{}x{}", size.width, size.height).size(24), controls, ] .spacing(10) -- cgit