Skip to content

Commit 4b2f372

Browse files
committed
std: Untabify
1 parent 74c825e commit 4b2f372

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/libstd/fs.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -417,15 +417,15 @@ Otherwise, homedir returns option::none.
417417
fn homedir() -> option<path> {
418418
ret alt generic_os::getenv("HOME") {
419419
some(p) {
420-
if !str::is_empty(p) {
420+
if !str::is_empty(p) {
421421
some(p)
422422
} else {
423-
secondary()
424-
}
425-
}
426-
none. {
427-
secondary()
428-
}
423+
secondary()
424+
}
425+
}
426+
none. {
427+
secondary()
428+
}
429429
};
430430

431431
#[cfg(target_os = "linux")]
@@ -440,9 +440,9 @@ fn homedir() -> option<path> {
440440
option::maybe(none, generic_os::getenv("USERPROFILE")) {|p|
441441
if !str::is_empty(p) {
442442
some(p)
443-
} else {
444-
none
445-
}
443+
} else {
444+
none
445+
}
446446
}
447447
}
448448
}

0 commit comments

Comments
 (0)