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
|
|
@ -60,7 +60,7 @@ impl Sandbox for Styling {
|
|||
column.push(
|
||||
Radio::new(
|
||||
*theme,
|
||||
&format!("{:?}", theme),
|
||||
format!("{:?}", theme),
|
||||
Some(self.theme),
|
||||
Message::ThemeChanged,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue