diff --git a/apb/src/node.rs b/apb/src/node.rs index aa369d0d..a1312e45 100644 --- a/apb/src/node.rs +++ b/apb/src/node.rs @@ -99,6 +99,7 @@ impl Node { } /// returns id of object: url for link, id for object, None if empty or array + // TODO return Option<&str> and avoid inner clone pub fn id(&self) -> Option { match self { Node::Empty => None,