node: remove debug log from NodeCollection::pointer

This commit is contained in:
Matt Bilker 2019-03-16 08:20:13 +00:00
parent b4962cdaa8
commit 23fbc2f81f
No known key found for this signature in database
GPG Key ID: 69ADF8AEB6C8B5D1

View File

@ -138,10 +138,8 @@ impl NodeCollection {
for token in pointer {
let target_opt = if let Some(index) = parse_index(token) {
eprintln!("index: {}", index);
target.children().get(index)
} else {
eprintln!("token: {:?}", token);
target.children().iter().find(|ref child| {
child.base().key().ok().and_then(|x| x).expect("key not parseable") == *token
})