From d4ad1bf6695bebafa868ce687999a45b9c0dc84a Mon Sep 17 00:00:00 2001 From: Mikkel Denker Date: Wed, 20 Mar 2024 21:20:14 +0100 Subject: [PATCH] fix indexer example cleanup --- crates/core/examples/indexer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/examples/indexer.rs b/crates/core/examples/indexer.rs index c7aacd41..c9854fcb 100644 --- a/crates/core/examples/indexer.rs +++ b/crates/core/examples/indexer.rs @@ -62,6 +62,6 @@ fn main() -> anyhow::Result<()> { println!("Indexing took {:?}", start.elapsed()); - std::fs::remove_dir(path)?; + std::fs::remove_dir_all(path)?; Ok(()) }