From a118615e6c849e13c32e8343918c291355b94c3a Mon Sep 17 00:00:00 2001 From: Moritz Hoffmann Date: Tue, 12 Dec 2023 21:31:49 -0500 Subject: [PATCH] Unreachable instead of unimplemented Signed-off-by: Moritz Hoffmann --- src/operators/consolidate.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/operators/consolidate.rs b/src/operators/consolidate.rs index b5305fc88..4418d8ae4 100644 --- a/src/operators/consolidate.rs +++ b/src/operators/consolidate.rs @@ -240,11 +240,13 @@ impl<'a, K: Data, V: Data, T: Timestamp, R: Data> Builder for ConsolidateBuilder type Output = (); fn new() -> Self { - unimplemented!() + // We never construct self using `new`. + unreachable!() } fn with_capacity(_keys: usize, _vals: usize, _upds: usize) -> Self { - unimplemented!() + // We never construct self using `with_capacity`. + unreachable!() } fn push(&mut self, element: Self::Item) {