Remove unnecessary to_string.
This commit is contained in:
parent
2aba821067
commit
dcd63b508e
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ impl Settings {
|
|||
self.default_icon_theme = if value.is_empty() {
|
||||
None
|
||||
} else {
|
||||
Some(value.to_string())
|
||||
Some(value)
|
||||
};
|
||||
self
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue