@@ -613,8 +613,8 @@ impl<'a, K, V> NodeRef<marker::Mut<'a>, K, V, marker::Internal> {
613
613
}
614
614
615
615
impl < ' 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.
618
618
pub fn push ( & mut self , key : K , val : V , edge : Root < K , V > ) {
619
619
assert ! ( edge. height == self . height - 1 ) ;
620
620
@@ -630,8 +630,8 @@ impl<'a, K: 'a, V: 'a> NodeRef<marker::Mut<'a>, K, V, marker::Internal> {
630
630
}
631
631
}
632
632
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.
635
635
pub fn push_front ( & mut self , key : K , val : V , edge : Root < K , V > ) {
636
636
assert ! ( edge. height == self . height - 1 ) ;
637
637
assert ! ( self . len( ) < CAPACITY ) ;
@@ -1152,7 +1152,7 @@ impl<'a, K: 'a, V: 'a> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Leaf>, mark
1152
1152
///
1153
1153
/// - The node is truncated to only contain the key/value pairs to the right of
1154
1154
/// 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.
1156
1156
/// - All the key/value pairs to the right of this handle are put into a newly
1157
1157
/// allocated node.
1158
1158
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>,
1196
1196
///
1197
1197
/// - The node is truncated to only contain the edges and key/value pairs to the
1198
1198
/// 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.
1200
1200
/// - All the edges and key/value pairs to the right of this handle are put into
1201
1201
/// a newly allocated node.
1202
1202
pub fn split ( mut self ) -> ( NodeRef < marker:: Mut < ' a > , K , V , marker:: Internal > , K , V , Root < K , V > ) {
0 commit comments