Skip to content

Commit 2470f9d

Browse files
clippy
1 parent 965520b commit 2470f9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ impl CloudCheck {
102102
);
103103
match tokio::fs::metadata(cache_path).await {
104104
Ok(metadata) => {
105-
if let Some(modified) = metadata.modified().ok() {
105+
if let Ok(modified) = metadata.modified() {
106106
debug!("Cache file modification time: {:?}", modified);
107107
Ok(Some(modified))
108108
} else {

0 commit comments

Comments
 (0)