We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e36335 commit b499ea2Copy full SHA for b499ea2
timely/src/dataflow/operators/capability.rs
@@ -250,7 +250,7 @@ impl<T: Timestamp> CapabilityTrait<T> for InputCapability<T> {
250
let internal_borrow = self.internal.borrow();
251
// To be valid, the output buffer must match and the timestamp summary needs to be the default.
252
Rc::ptr_eq(&internal_borrow[port], query_buffer) &&
253
- summaries_borrow.get(port).map(|path| path.len() == 1 && path[0] == Default::default()).unwrap_or(false)
+ summaries_borrow.get(port).map_or(false, |path| path.elements() == [Default::default()])
254
}
255
256
0 commit comments