Skip to content

Commit ac00a0b

Browse files
committed
Auto merge of #539 - overlookmotel:fix-comment, r=Amanieu
Fix comment From looking at code, I believe this comment was incorrect (or outdated). It seems that `T`s are stored in reverse order.
2 parents 894b56f + 925e220 commit ac00a0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/raw/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,8 +795,8 @@ struct RawTableInner {
795795
// number of buckets in the table.
796796
bucket_mask: usize,
797797

798-
// [Padding], T1, T2, ..., Tlast, C1, C2, ...
799-
// ^ points here
798+
// [Padding], T_n, ..., T1, T0, C0, C1, ...
799+
// ^ points here
800800
ctrl: NonNull<u8>,
801801

802802
// Number of elements that can be inserted before we need to grow the table

0 commit comments

Comments
 (0)