Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutable Map on Sequence Trie #43

Open
Heasummn opened this issue Jun 30, 2020 · 0 comments
Open

Mutable Map on Sequence Trie #43

Heasummn opened this issue Jun 30, 2020 · 0 comments

Comments

@Heasummn
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant