Skip to content

Commit

Permalink
Remove unnecessary to_string.
Browse files Browse the repository at this point in the history
  • Loading branch information
edfloreshz authored Aug 12, 2023
1 parent 2aba821 commit dcd63b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ impl Settings {
self.default_icon_theme = if value.is_empty() {
None
} else {
Some(value.to_string())
Some(value)
};
self
}
Expand Down

0 comments on commit dcd63b5

Please sign in to comment.