@@ -655,7 +655,7 @@ impl<BorrowType: marker::BorrowType, K, V> NodeRef<BorrowType, K, V, marker::Lea
655655pub enum Position < BorrowType , K , V > {
656656 Leaf ( NodeRef < BorrowType , K , V , marker:: Leaf > ) ,
657657 Internal ( NodeRef < BorrowType , K , V , marker:: Internal > ) ,
658- InternalKV ( Handle < NodeRef < BorrowType , K , V , marker :: Internal > , marker :: KV > ) ,
658+ InternalKV ,
659659}
660660
661661impl < ' a , K : ' a , V : ' a > NodeRef < marker:: Immut < ' a > , K , V , marker:: LeafOrInternal > {
@@ -677,7 +677,7 @@ impl<'a, K: 'a, V: 'a> NodeRef<marker::Immut<'a>, K, V, marker::LeafOrInternal>
677677 visit ( Position :: Leaf ( leaf) ) ;
678678 match edge. next_kv ( ) {
679679 Ok ( kv) => {
680- visit ( Position :: InternalKV ( kv ) ) ;
680+ visit ( Position :: InternalKV ) ;
681681 kv. right_edge ( )
682682 }
683683 Err ( _) => return ,
@@ -699,7 +699,7 @@ impl<'a, K: 'a, V: 'a> NodeRef<marker::Immut<'a>, K, V, marker::LeafOrInternal>
699699 self . visit_nodes_in_order ( |pos| match pos {
700700 Position :: Leaf ( node) => result += node. len ( ) ,
701701 Position :: Internal ( node) => result += node. len ( ) ,
702- Position :: InternalKV ( _ ) => ( ) ,
702+ Position :: InternalKV => ( ) ,
703703 } ) ;
704704 result
705705 }
0 commit comments