chore(apb): track todo &str

This commit is contained in:
əlemi 2024-05-31 15:56:41 +02:00
parent 6129973b13
commit b6a17184eb

View file

@ -99,6 +99,7 @@ impl<T : super::Base> Node<T> {
}
/// 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<String> {
match self {
Node::Empty => None,