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