refactor(tvix/store/directorysvc): clippy

Change-Id: I30f7e98fe79ba22d218b4aabaef88c84b6085d82
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8617
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
Florian Klink 2023-05-23 14:10:53 +03:00 committed by flokli
parent e51d85e078
commit 4dd954f8f5

View file

@ -18,7 +18,7 @@ impl DirectoryService for MemoryDirectoryService {
fn get(&self, digest: &B3Digest) -> Result<Option<proto::Directory>, Error> {
let db = self.db.read()?;
match db.get(&digest) {
match db.get(digest) {
// The directory was not found, return
None => Ok(None),