-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tempfile: Delegate
tempdir::new
to base version (#360)
I was looking at the code here for an unrelated reason, and realized that there's no reason for us to duplicate the code. Because a Dir instance doesn't have a name accessible to the calling code, we just delegate to the non-UTF8 base version. In some presumably very unusual situations the tempdir may have a non-UTF8 name, but that's fine. Signed-off-by: Colin Walters <[email protected]>
- Loading branch information
Showing
1 changed file
with
17 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters