about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBen Blum <bblum@andrew.cmu.edu>2012-08-22 14:10:56 -0400
committerBen Blum <bblum@andrew.cmu.edu>2012-08-22 14:10:56 -0400
commit0e620ac030eddc9a12ada8a209e8ffeda6e10427 (patch)
tree29b2c5f15abdb0703c3c05f2fd1286e2b9916b5e /src
parentd2e2d976026a765465767021fc681044983af07b (diff)
downloadrust-0e620ac030eddc9a12ada8a209e8ffeda6e10427.tar.gz
rust-0e620ac030eddc9a12ada8a209e8ffeda6e10427.zip
Remove one last default argument mode from core::os
Diffstat (limited to 'src')
-rw-r--r--src/libcore/os.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/os.rs b/src/libcore/os.rs
index 36e7dbe3346..1b68ffc6f38 100644
--- a/src/libcore/os.rs
+++ b/src/libcore/os.rs
@@ -484,7 +484,7 @@ fn homedir() -> option<Path> {
 fn tmpdir() -> Path {
     return lookup();
 
-    fn getenv_nonempty(v: Path) -> option<Path> {
+    fn getenv_nonempty(+v: Path) -> option<Path> {
         match getenv(v) {
             some(x) =>
                 if str::is_empty(x) {