Skip to content

Commit 6c0c561

Browse files
committed
fix(doc): temp_dir doesn't check if writable
1 parent 48bff5f commit 6c0c561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub fn override_temp_dir(path: &Path) -> Result<(), PathBuf> {
3434
/// This function simply delegates to [`std::env::temp_dir`] unless the default temporary directory
3535
/// has been override by a call to [`override_temp_dir`].
3636
///
37-
/// **NOTE:** This function does check if the returned directory exists and/or is writable.
37+
/// **NOTE:** This function does not check if the returned directory exists and/or is writable.
3838
pub fn temp_dir() -> PathBuf {
3939
DEFAULT_TEMPDIR
4040
.get()

0 commit comments

Comments
 (0)