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

Node::replace and Box #34

Open
mitsuhiko opened this issue Sep 25, 2023 · 0 comments
Open

Node::replace and Box #34

mitsuhiko opened this issue Sep 25, 2023 · 0 comments

Comments

@mitsuhiko
Copy link

Today Node::replace takes a T: NodeValue and boxes the new node value internally. In some cases it might not always be possible to have a NodeValue there, but a Box<dyn NodeValue> instead. It would be nice to have a replace_boxed that directly accepts a Box<dyn NodeValue>.

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