diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-23 18:32:57 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-23 18:32:57 -0700 |
| commit | 0e14fd6e133a9eec6c3e5f8472ebf6788695781e (patch) | |
| tree | 5fedf9625247a7aea75305795234038fff64da7a /src/libcore | |
| parent | 4a78f9b16620489855da93c19be56f59431416f6 (diff) | |
core: Fix some option-demode fallout on windows
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/os.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/os.rs b/src/libcore/os.rs index a9a7e94b08f..6a44f931c23 100644 --- a/src/libcore/os.rs +++ b/src/libcore/os.rs @@ -474,7 +474,7 @@ fn homedir() -> Option<Path> { #[cfg(windows)] fn secondary() -> Option<Path> { - do option::chain(getenv(~"USERPROFILE")) |p| { + do option::chain(&getenv(~"USERPROFILE")) |p| { if !str::is_empty(p) { Some(Path(p)) } else { |
