We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46628c2 commit 7a837c1Copy full SHA for 7a837c1
tests/node_ref.rs
@@ -46,7 +46,7 @@ fn index_of_child() {
46
let root = tree.root();
47
let b = root.first_child().unwrap();
48
let c = root.last_child().unwrap();
49
-
+
50
assert_eq!(0, root.index_of_child(&b).unwrap());
51
assert_eq!(1, root.index_of_child(&c).unwrap());
52
assert!(root.index_of_child(&root).is_none());
0 commit comments