From 4dd954f8f5c025aaebf0b1dede1e7b99f47550f5 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 23 May 2023 14:10:53 +0300 Subject: refactor(tvix/store/directorysvc): clippy Change-Id: I30f7e98fe79ba22d218b4aabaef88c84b6085d82 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8617 Autosubmit: flokli Tested-by: BuildkiteCI Reviewed-by: tazjin --- tvix/store/src/directoryservice/memory.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tvix/store/src/directoryservice/memory.rs b/tvix/store/src/directoryservice/memory.rs index 524c7664c651..1fd619f7c8cb 100644 --- a/tvix/store/src/directoryservice/memory.rs +++ b/tvix/store/src/directoryservice/memory.rs @@ -18,7 +18,7 @@ impl DirectoryService for MemoryDirectoryService { fn get(&self, digest: &B3Digest) -> Result, Error> { let db = self.db.read()?; - match db.get(&digest) { + match db.get(digest) { // The directory was not found, return None => Ok(None), -- cgit 1.4.1