Skip to content

Commit f545e1c

Browse files
committed
Fix Clippy len_without_is_empty warning
1 parent e8e9317 commit f545e1c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎asap-query-engine/src/precompute_engine/output_sink.rs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ impl CapturingOutputSink {
8080
pub fn len(&self) -> usize {
8181
self.captured.lock().unwrap().len()
8282
}
83+
84+
pub fn is_empty(&self) -> bool {
85+
self.captured.lock().unwrap().is_empty()
86+
}
8387
}
8488

8589
impl Default for CapturingOutputSink {

0 commit comments

Comments
 (0)