Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d55602a commit 847af46Copy full SHA for 847af46
1 file changed
src/traverse.rs
@@ -93,7 +93,7 @@ impl Traversal {
93
}
94
95
pub fn is_costly(&self) -> bool {
96
- self.cost.is_some_and(|d| d.as_secs_f32() > 10.0)
+ self.cost.is_none_or(|d| d.as_secs_f32() > 10.0)
97
98
99
0 commit comments