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 02d99b5 commit d6457c3Copy full SHA for d6457c3
timely/examples/columnar.rs
@@ -335,6 +335,10 @@ mod builder {
335
336
#[inline]
337
fn relax(&mut self) {
338
+ /// The caller is responsible for draining all contents; assert that we are empty.
339
+ /// The assertion is not strictly necessary, but it helps catch bugs.
340
+ debug_assert!(self.current.is_empty());
341
+ debug_assert!(self.pending.is_empty());
342
*self = Self::default();
343
}
344
0 commit comments