Merge pull request #1106 from RamType0/RemoveUnnecessaryStringAllocationInExample
Remove unnecessary String allocation
This commit is contained in:
commit
f084ed8df1
5 changed files with 10 additions and 12 deletions
|
|
@ -72,7 +72,7 @@ impl Sandbox for ScrollableDemo {
|
|||
column.push(
|
||||
Radio::new(
|
||||
*option,
|
||||
&format!("{:?}", option),
|
||||
format!("{:?}", option),
|
||||
Some(*theme),
|
||||
Message::ThemeChanged,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue