You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Sequence Trie for a project, and I would like to mutably map over the children of a given node. However, I cannot mutably modify other elements while doing this because the struct doesn't have a map function that allows a FnMut.
The easy workaround for me was to make the thing that I wanted to mutably modify a RefCell, but that is less than ideal.
The text was updated successfully, but these errors were encountered:
I'm using Sequence Trie for a project, and I would like to mutably map over the children of a given node. However, I cannot mutably modify other elements while doing this because the struct doesn't have a map function that allows a FnMut.
The easy workaround for me was to make the thing that I wanted to mutably modify a
RefCell
, but that is less than ideal.The text was updated successfully, but these errors were encountered: