Skip to content

Commit

Permalink
indexmap: add another previously-failing assert.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirbaio committed Oct 31, 2023
1 parent a4bfe3e commit a704c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/indexmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ mod tests {
panic!("Entry found before insert");
}
Entry::Vacant(v) => {
v.insert(i).unwrap();
assert_eq!(i, *v.insert(i).unwrap());
}
}
}
Expand Down

0 comments on commit a704c5c

Please sign in to comment.