Skip to content

Make map value reassignment actually work

Tom Almeida requested to merge Tommoa/ion:make-map-reassignment-work into master

This MR simply changes the function being used for hmap and bmap insertion to insert(). That allows value reassignment to occur for the two mapping types ion supports.

I have no clue why we were using Entry::or_insert(), it doesn't allow us to update the inner values.

Closes #839 (closed)

Edited by Tom Almeida

Merge request reports