Remove one last default argument mode from core::os
This commit is contained in:
parent
d2e2d97602
commit
0e620ac030
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue