diff --git a/apb/src/node.rs b/apb/src/node.rs index ce19419..1380ea6 100644 --- a/apb/src/node.rs +++ b/apb/src/node.rs @@ -34,14 +34,6 @@ impl Iterator for Node { } } -impl Node { - pub fn update(&mut self, builder: impl FnOnce(T) -> T) { - if let Node::Object(x) = self { - *x = Box::new(builder((**x).clone())); - } - } -} - impl Node { /// return reference to embedded object (or last if many are present) pub fn get(&self) -> Option<&T> {