Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Sep 15, 2023
1 parent 7b1b535 commit 363dbcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ impl<D: Digest + 'static> Cache<D> {
let _ = rx.changed().await;
let value = rx.borrow();
if value.is_some() {
return value.clone().unwrap().ok();
value.clone().unwrap().ok()
} else {
tracing::error!("Cache: Unreachable code");
return None;
None
}
}
None => None,
Expand Down

0 comments on commit 363dbcc

Please sign in to comment.