Skip to content

Node::replace and Box #34

@mitsuhiko

Description

@mitsuhiko

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>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions