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 {
|
fn tmpdir() -> Path {
|
||||||
return lookup();
|
return lookup();
|
||||||
|
|
||||||
fn getenv_nonempty(v: Path) -> option<Path> {
|
fn getenv_nonempty(+v: Path) -> option<Path> {
|
||||||
match getenv(v) {
|
match getenv(v) {
|
||||||
some(x) =>
|
some(x) =>
|
||||||
if str::is_empty(x) {
|
if str::is_empty(x) {
|
||||||
|
|||||||
Reference in New Issue
Block a user