We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22c7dbc commit 5f059ceCopy full SHA for 5f059ce
src/raw/mod.rs
@@ -1507,7 +1507,6 @@ impl<A: Allocator + Clone> RawTableInner<A> {
1507
1508
// Search for a suitable place to put it
1509
let new_i = guard.find_insert_slot(hash);
1510
- let new_i_p = guard.bucket_ptr(new_i, size_of);
1511
1512
// Probing works by scanning through all of the control
1513
// bytes in groups, which may not be aligned to the group
@@ -1519,6 +1518,8 @@ impl<A: Allocator + Clone> RawTableInner<A> {
1519
1518
continue 'outer;
1520
}
1521
+ let new_i_p = guard.bucket_ptr(new_i, size_of);
1522
+
1523
// We are moving the current item to a new position. Write
1524
// our H2 to the control byte of the new position.
1525
let prev_ctrl = guard.replace_ctrl_h2(new_i, hash);
0 commit comments