diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-28 16:44:38 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-28 16:44:38 -0700 |
| commit | a6fe5ef1a9fc4c2292e2f39825e10f2ad7d7fd21 (patch) | |
| tree | accb4fb400050434f622397833edfa5ae22f210e /src | |
| parent | 4e2899ba883c706c3ac9e3bd2fe01f8125bf28cf (diff) | |
| download | rust-a6fe5ef1a9fc4c2292e2f39825e10f2ad7d7fd21.tar.gz rust-a6fe5ef1a9fc4c2292e2f39825e10f2ad7d7fd21.zip | |
core: Fix more windows bustage
Diffstat (limited to 'src')
| -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 7e3b930dcb8..0e28a296da7 100644 --- a/src/libcore/os.rs +++ b/src/libcore/os.rs @@ -433,7 +433,7 @@ pub 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 { |
