Merge pull request #1106 from RamType0/RemoveUnnecessaryStringAllocationInExample

Remove unnecessary String allocation
This commit is contained in:
Héctor Ramón 2021-11-10 23:59:35 +07:00 committed by GitHub
commit f084ed8df1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 12 deletions

View file

@ -72,7 +72,7 @@ impl Sandbox for ScrollableDemo {
column.push(
Radio::new(
*option,
&format!("{:?}", option),
format!("{:?}", option),
Some(*theme),
Message::ThemeChanged,
)