Remove one last default argument mode from core::os
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user