Skip to content

Commit d2d3e9f

Browse files
committed
1 parent a05ac02 commit d2d3e9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ fn associated_databases<T: AsRef<str>>(
8181
}
8282
};
8383
if let Ok((ref taso_resp, _)) = taso_resp {
84-
success = taso_resp.success.as_ref().map_or(false, |s| *s.as_ref());
84+
success = taso_resp.success.as_ref().is_some_and(|s| *s.as_ref());
8585
}
8686
if taso_resp.is_err() || !success {
8787
warn!(

0 commit comments

Comments
 (0)