Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
Fixed a subtle reference issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
chotchki committed Aug 15, 2021
1 parent 25cc9b0 commit ece5a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/io/page_formats/page_offset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ mod tests {

let mut resource_lookup: HashMap<Uuid, PageOffset> = HashMap::new();
resource_lookup.insert(test_uuid, PageOffset(0));
let test0 = resource_lookup.get(&test_uuid).unwrap();
let test0 = resource_lookup.remove(&test_uuid).unwrap();
resource_lookup.insert(test_uuid, test0.next());
let test1 = resource_lookup.get(&test_uuid).unwrap();

Expand Down

0 comments on commit ece5a29

Please sign in to comment.