Skip to main content

remove_node

Function remove_node 

Source
pub fn remove_node(source: &str, node: &NodeRef) -> Result<RemoveResult, String>
Expand description

Remove a node from the source text, returning the modified source and the detached node’s text.