Skip to content

Commit 4b91632

Browse files
committed
more fix deprecated
1 parent 095e4e0 commit 4b91632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benches/disk.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async fn create_hypercore(name: &str) -> Result<Hypercore, HypercoreError> {
2828
.prefix(name)
2929
.tempdir()
3030
.unwrap()
31-
.into_path();
31+
.keep();
3232
let storage = Storage::new_disk(&dir, true).await?;
3333
HypercoreBuilder::new(storage)
3434
.node_cache_options(hypercore::CacheOptionsBuilder::new())

0 commit comments

Comments
 (0)