Skip to content

Commit

Permalink
[feat] Fix cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
ppodolsky committed May 11, 2024
1 parent 0f72d9a commit 13e9150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion summa-core/src/directories/debug_proxy_directory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ impl Directory for DebugProxyDirectory {
}

fn acquire_lock(&self, _lock: &Lock) -> Result<DirectoryLock, LockError> {
Ok(tantivy::directory::DirectoryLock::from(Box::new(|| {})))
Ok(DirectoryLock::from(Box::new(|| {})))
}
fn as_any(&self) -> &dyn Any {
self
Expand Down
2 changes: 1 addition & 1 deletion summa-core/src/directories/network_directory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl<TExternalRequest: ExternalRequest + 'static> Directory for NetworkDirectory
}

fn acquire_lock(&self, _lock: &Lock) -> Result<DirectoryLock, LockError> {
Ok(tantivy::directory::DirectoryLock::from(Box::new(|| {})))
Ok(DirectoryLock::from(Box::new(|| {})))
}

fn watch(&self, _: WatchCallback) -> tantivy::Result<WatchHandle> {
Expand Down

0 comments on commit 13e9150

Please sign in to comment.