File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1507,7 +1507,6 @@ impl<A: Allocator + Clone> RawTableInner<A> {
1507
1507
1508
1508
// Search for a suitable place to put it
1509
1509
let new_i = guard. find_insert_slot ( hash) ;
1510
- let new_i_p = guard. bucket_ptr ( new_i, size_of) ;
1511
1510
1512
1511
// Probing works by scanning through all of the control
1513
1512
// 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
1519
}
1521
1520
1521
+ let new_i_p = guard. bucket_ptr ( new_i, size_of) ;
1522
+
1522
1523
// We are moving the current item to a new position. Write
1523
1524
// our H2 to the control byte of the new position.
1524
1525
let prev_ctrl = guard. replace_ctrl_h2 ( new_i, hash) ;
You can’t perform that action at this time.
0 commit comments