File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1075,7 +1075,7 @@ impl<A> RawTableInner<A> {
1075
1075
/// Creates a new empty hash table without allocating any memory.
1076
1076
///
1077
1077
/// In effect this returns a table with exactly 1 bucket. However we can
1078
- /// leave the data pointer dangling since that bucket is never written to
1078
+ /// leave the data pointer dangling since that bucket is never accessed
1079
1079
/// due to our load factor forcing us to always have at least 1 free bucket.
1080
1080
#[ inline]
1081
1081
const fn new_in ( alloc : A ) -> Self {
@@ -1092,7 +1092,7 @@ impl<A> RawTableInner<A> {
1092
1092
1093
1093
impl < A : Allocator + Clone > RawTableInner < A > {
1094
1094
/// Allocates a new [`RawTableInner`] with the given number of buckets.
1095
- /// The control bytes are left uninitialized.
1095
+ /// The control bytes and buckets are left uninitialized.
1096
1096
///
1097
1097
/// # Safety
1098
1098
///
You can’t perform that action at this time.
0 commit comments