Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Avoid second remove_dir_all after close() #22

Merged
merged 1 commit into from
Mar 17, 2017
Merged

Avoid second remove_dir_all after close() #22

merged 1 commit into from
Mar 17, 2017

Conversation

dtolnay
Copy link
Contributor

@dtolnay dtolnay commented Mar 16, 2017

Previously this code would try to remove the directory twice.

let dir = TempDir::new("")?;
dir.close()?;

@alexcrichton alexcrichton merged commit 1708bf0 into rust-lang-deprecated:master Mar 17, 2017
@alexcrichton
Copy link
Contributor

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants