Skip to content

Commit 5b96822

Browse files
committed
Relax the trait bounds of HashSet::raw_table{,_mut}
1 parent 009969a commit 5b96822

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/set.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,9 @@ where
12211221
None => None,
12221222
}
12231223
}
1224+
}
12241225

1226+
impl<T, S, A: Allocator + Clone> HashSet<T, S, A> {
12251227
/// Returns a reference to the [`RawTable`] used underneath [`HashSet`].
12261228
/// This function is only available if the `raw` feature of the crate is enabled.
12271229
///

0 commit comments

Comments
 (0)