Skip to content

Commit 25fc005

Browse files
author
Deren Vural
committed
trunk formatting
Signed-off-by: Deren Vural <[email protected]>
1 parent 4853abd commit 25fc005

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/settingswindow/imp.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,16 @@ impl SettingsWindow {
110110
match unit.as_str() {
111111
"Celcius (C)" => {
112112
// Set temperature unit as C
113-
let settings: &Settings = self.settings.get().expect("..Cannot retrieve settings");
113+
let settings: &Settings =
114+
self.settings.get().expect("..Cannot retrieve settings");
114115
settings
115116
.set_int("tempformat", 0)
116117
.expect("..Cannot set `tempformat` setting");
117118
}
118119
"Fahrenheit (F)" => {
119120
// Set temperature unit as F
120-
let settings: &Settings = self.settings.get().expect("..Cannot retrieve settings");
121+
let settings: &Settings =
122+
self.settings.get().expect("..Cannot retrieve settings");
121123
settings
122124
.set_int("tempformat", 1)
123125
.expect("..Cannot set `tempformat` setting");

0 commit comments

Comments
 (0)