Skip to content

Commit

Permalink
fix guard
Browse files Browse the repository at this point in the history
  • Loading branch information
miraclx committed Nov 15, 2024
1 parent f4c4ff5 commit 26958e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/storage/src/collections/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ where

/// Fetches the root collection.
pub fn fetch() -> Option<Self> {
employ_root_guard();

let inner = Interface::root().unwrap()?;

employ_root_guard();

Some(Self {
inner,
dirty: false,
Expand Down

0 comments on commit 26958e5

Please sign in to comment.