@@ -613,8 +613,8 @@ impl<'a, K, V> NodeRef<marker::Mut<'a>, K, V, marker::Internal> {
613613}
614614
615615impl < ' a , K : ' a , V : ' a > NodeRef < marker:: Mut < ' a > , K , V , marker:: Internal > {
616- /// Adds a key/value pair and an edge to go to the right of that pair to
617- /// the end of the node.
616+ /// Adds a key/value pair, and an edge to go to the right of that pair,
617+ /// to the end of the node.
618618 pub fn push ( & mut self , key : K , val : V , edge : Root < K , V > ) {
619619 assert ! ( edge. height == self . height - 1 ) ;
620620
@@ -630,8 +630,8 @@ impl<'a, K: 'a, V: 'a> NodeRef<marker::Mut<'a>, K, V, marker::Internal> {
630630 }
631631 }
632632
633- /// Adds a key/value pair and an edge to go to the left of that pair to
634- /// the beginning of the node.
633+ /// Adds a key/value pair, and an edge to go to the left of that pair,
634+ /// to the beginning of the node.
635635 pub fn push_front ( & mut self , key : K , val : V , edge : Root < K , V > ) {
636636 assert ! ( edge. height == self . height - 1 ) ;
637637 assert ! ( self . len( ) < CAPACITY ) ;
@@ -1152,7 +1152,7 @@ impl<'a, K: 'a, V: 'a> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Leaf>, mark
11521152 ///
11531153 /// - The node is truncated to only contain the key/value pairs to the right of
11541154 /// this handle.
1155- /// - The key and value pointed to by this handle and extracted.
1155+ /// - The key and value pointed to by this handle are extracted.
11561156 /// - All the key/value pairs to the right of this handle are put into a newly
11571157 /// allocated node.
11581158 pub fn split ( mut self ) -> ( NodeRef < marker:: Mut < ' a > , K , V , marker:: Leaf > , K , V , Root < K , V > ) {
@@ -1196,7 +1196,7 @@ impl<'a, K: 'a, V: 'a> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Internal>,
11961196 ///
11971197 /// - The node is truncated to only contain the edges and key/value pairs to the
11981198 /// right of this handle.
1199- /// - The key and value pointed to by this handle and extracted.
1199+ /// - The key and value pointed to by this handle are extracted.
12001200 /// - All the edges and key/value pairs to the right of this handle are put into
12011201 /// a newly allocated node.
12021202 pub fn split ( mut self ) -> ( NodeRef < marker:: Mut < ' a > , K , V , marker:: Internal > , K , V , Root < K , V > ) {
0 commit comments