forked from Stebalien/tempfile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docs pointing out early dop pitfalls
This commit adds a section to the `src/libs.rs` docs pointing out an easily encounterable error when ussing `tempdir()` with apis that are generic over `AsRef<Path>`, like `Command::current_dir`, resulting in the directory being dropped to early (As pointed out in Stebalien#115).
- Loading branch information
robinwilliam.hundt
committed
Feb 15, 2020
1 parent
3f8b97f
commit d1df0d2
Showing
1 changed file
with
33 additions
and
0 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