diff --git a/src/bitmap/cmp.rs b/src/bitmap/cmp.rs index 746ac5c2..908453b7 100644 --- a/src/bitmap/cmp.rs +++ b/src/bitmap/cmp.rs @@ -118,7 +118,7 @@ impl<'a> Iterator for Pairs<'a> { Right, Both, None, - }; + } let which = match (self.0.peek(), self.1.peek()) { (None, None) => Which::None, (Some(_), None) => Which::Left, diff --git a/src/treemap/cmp.rs b/src/treemap/cmp.rs index 58df2d05..8b6a0aa4 100644 --- a/src/treemap/cmp.rs +++ b/src/treemap/cmp.rs @@ -115,7 +115,7 @@ impl<'a> Iterator for Pairs<'a> { Right, Both, None, - }; + } let which = match (self.0.peek(), self.1.peek()) { (None, None) => Which::None, (Some(_), None) => Which::Left,