8 lines
196 B
Rust
8 lines
196 B
Rust
|
#[allow(dead_code)]
|
||
|
pub(crate) fn tempdir() -> tempfile::TempDir {
|
||
|
tempfile::Builder::new()
|
||
|
.prefix("just-test-tempdir")
|
||
|
.tempdir()
|
||
|
.expect("failed to create temporary directory")
|
||
|
}
|