From 0f2ef192ccb0da83d0e53c2b0f00e7c09bf7a6b3 Mon Sep 17 00:00:00 2001 From: Frank McSherry Date: Sat, 11 May 2019 11:46:18 -0400 Subject: [PATCH] weird --- src/trace/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trace/mod.rs b/src/trace/mod.rs index a03aea39bd..796883e56b 100644 --- a/src/trace/mod.rs +++ b/src/trace/mod.rs @@ -180,7 +180,7 @@ pub trait BatchReader where Self: ::std::marker::Sized /// The number of updates in the batch. fn len(&self) -> usize; /// True if the batch is empty. - fn is_empty(&self) -> usize { self.len() == 0 } + fn is_empty(&self) -> bool { self.len() == 0 } /// Describes the times of the updates in the batch. fn description(&self) -> &Description;