std: Untabify

This commit is contained in:
Brian Anderson 2012-01-06 16:37:04 -08:00
parent 74c825e385
commit 4b2f37253a

View File

@ -417,15 +417,15 @@ Otherwise, homedir returns option::none.
fn homedir() -> option<path> {
ret alt generic_os::getenv("HOME") {
some(p) {
if !str::is_empty(p) {
if !str::is_empty(p) {
some(p)
} else {
secondary()
}
}
none. {
secondary()
}
secondary()
}
}
none. {
secondary()
}
};
#[cfg(target_os = "linux")]
@ -440,9 +440,9 @@ fn homedir() -> option<path> {
option::maybe(none, generic_os::getenv("USERPROFILE")) {|p|
if !str::is_empty(p) {
some(p)
} else {
none
}
} else {
none
}
}
}
}