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() {
|
self.default_icon_theme = if value.is_empty() {
|
||||||
None
|
None
|
||||||
} else {
|
} else {
|
||||||
Some(value.to_string())
|
Some(value)
|
||||||
};
|
};
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue