From 5c66e33ef9000778a2656ac2796641516b6a1157 Mon Sep 17 00:00:00 2001 From: Luiz Irber Date: Sun, 18 Aug 2024 14:56:49 -0700 Subject: [PATCH] fmt --- src/core/src/collection.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/src/collection.rs b/src/core/src/collection.rs index 013d5bfbe5..c30d87a612 100644 --- a/src/core/src/collection.rs +++ b/src/core/src/collection.rs @@ -137,8 +137,8 @@ impl Collection { #[cfg(all(feature = "branchwater", not(target_arch = "wasm32")))] pub fn from_rocksdb>(dirname: P) -> Result { - use crate::index::revindex::{ RevIndex, RevIndexOps }; - + use crate::index::revindex::{RevIndex, RevIndexOps}; + let path = dirname.as_ref().as_str().to_string(); let index = RevIndex::open(path, true, None)?; let collection: Collection = index.collection().clone().into_inner();