about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-01-06 16:37:04 -0800
committerBrian Anderson <banderson@mozilla.com>2012-01-06 16:37:04 -0800
commit4b2f37253a77685a2f4454c9c31db650e9bb5522 (patch)
tree83c00e76a01982d376d0bfd4ac194fe78327b957 /src/libstd
parent74c825e3858632d1ad7b26a5bf9a0d2bef7f0335 (diff)
downloadrust-4b2f37253a77685a2f4454c9c31db650e9bb5522.tar.gz
rust-4b2f37253a77685a2f4454c9c31db650e9bb5522.zip
std: Untabify
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/fs.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs
index cf7173f0957..2a65559db5a 100644
--- a/src/libstd/fs.rs
+++ b/src/libstd/fs.rs
@@ -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
+            }
         }
     }
 }