Skip to content

Commit a15fe50

Browse files
author
Markus Westerlind
committed
Fix tests
1 parent 2b7a513 commit a15fe50

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ pub mod raw {
4848
pub use inner::*;
4949

5050
#[cfg(feature = "rayon")]
51+
/// [rayon]-based parallel iterator types for hash maps.
52+
/// You will rarely need to interact with it directly unless you have need
53+
/// to name one of the iterator types.
54+
///
55+
/// [rayon]: https://docs.rs/rayon/1.0/rayon
5156
pub mod rayon {
5257
pub use crate::external_trait_impls::rayon::raw::*;
5358
}

src/raw/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,7 @@ impl<T> Iterator for RawIterRange<T> {
17071707
// than the group size where the trailing control bytes are all
17081708
// EMPTY. On larger tables self.end is guaranteed to be aligned
17091709
// to the group size (since tables are power-of-two sized).
1710-
if let None = self.inner.next_group() {
1710+
if self.inner.next_group().is_none() {
17111711
return None;
17121712
}
17131713
self.data = self.data.next_n(Group::WIDTH);

0 commit comments

Comments
 (0)