Skip to content

Commit

Permalink
chore: Typo, try fix function signature issue
Browse files Browse the repository at this point in the history
  • Loading branch information
whisperity authored Feb 20, 2025
1 parent 55706e9 commit 4599706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/mock_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl Storage for MockStorage {
Duration::from_secs(0)
})
}
async fn timestamp_cache_hit(&self, _key: &str) -> Result<Duration> {
async fn timestamp_cache_hit(&self, _key: &str) -> Result<Option<Duration>> {
Ok(Duration::from_secs(0))
}
fn location(&self) -> String {
Expand Down

0 comments on commit 4599706

Please sign in to comment.