Skip to content

Add Dir::create_new, analogous to File::create_new - #431

Open
joshtriplett wants to merge 1 commit into
sunfishcode:mainfrom
joshtriplett:create-new-shortcut
Open

joshtriplett wants to merge 1 commit into
sunfishcode:mainfrom
joshtriplett:create-new-shortcut

Conversation

@joshtriplett

Copy link
Copy Markdown

The Rust standard library added File::create_new as a shorthand, to avoid requiring OpenOptions for a common case.

Add an analogous Dir::create_new.

The Rust standard library added `File::create_new` as a shorthand, to
avoid requiring `OpenOptions` for a common case.

Add an analogous `Dir::create_new`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant