Skip to content

Commit 4c5de18

Browse files
committed
refactor(test): replace TempDir::into_path() with TempDir::keep()
1 parent 694bc99 commit 4c5de18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ fn tempdir_in_with_prefix<P: AsRef<Path>>(path: P, prefix: &str) -> io::Result<P
119119
Ok(tempfile::Builder::new()
120120
.prefix(prefix)
121121
.tempdir_in(path.as_ref())?
122-
.into_path())
122+
.keep())
123123
}
124124

125125
/// What is this host's triple - seems very redundant with from_host_or_build()

0 commit comments

Comments
 (0)