Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Aug 18, 2024
1 parent e560e32 commit 5c66e33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/src/collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ impl Collection {

#[cfg(all(feature = "branchwater", not(target_arch = "wasm32")))]
pub fn from_rocksdb<P: AsRef<Path>>(dirname: P) -> Result<Self> {

Check warning on line 139 in src/core/src/collection.rs

View check run for this annotation

Codecov / codecov/patch

src/core/src/collection.rs#L139

Added line #L139 was not covered by tests
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();

Check warning on line 144 in src/core/src/collection.rs

View check run for this annotation

Codecov / codecov/patch

src/core/src/collection.rs#L142-L144

Added lines #L142 - L144 were not covered by tests
Expand Down

0 comments on commit 5c66e33

Please sign in to comment.