From b6a17184eb581c67b6c41c6a73efa54ba4c27ad9 Mon Sep 17 00:00:00 2001 From: alemi Date: Fri, 31 May 2024 15:56:41 +0200 Subject: [PATCH] chore(apb): track todo &str --- apb/src/node.rs | 1 + 1 file changed, 1 insertion(+) 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,