about summary refs log tree commit diff
diff options
context:
space:
mode:
-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) {