Skip to content

Commit dbeb780

Browse files
committed
remove repetitive words
Signed-off-by: cui fliter <imcusg@gmail.com>
1 parent cb74820 commit dbeb780

File tree

1 file changed

+6
-6
lines changed
  • alloc/src/collections/btree

1 file changed

+6
-6
lines changed

alloc/src/collections/btree/map.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2916,7 +2916,7 @@ impl<'a, K, V> Cursor<'a, K, V> {
29162916
}
29172917
}
29182918

2919-
/// Returns a reference to the the key and value of the next element without
2919+
/// Returns a reference to the key and value of the next element without
29202920
/// moving the cursor.
29212921
///
29222922
/// If the cursor is at the end of the map then `None` is returned
@@ -2925,7 +2925,7 @@ impl<'a, K, V> Cursor<'a, K, V> {
29252925
self.clone().next()
29262926
}
29272927

2928-
/// Returns a reference to the the key and value of the previous element
2928+
/// Returns a reference to the key and value of the previous element
29292929
/// without moving the cursor.
29302930
///
29312931
/// If the cursor is at the start of the map then `None` is returned.
@@ -2958,7 +2958,7 @@ impl<'a, K, V, A> CursorMut<'a, K, V, A> {
29582958
Some((&*k, v))
29592959
}
29602960

2961-
/// Returns a reference to the the key and value of the next element without
2961+
/// Returns a reference to the key and value of the next element without
29622962
/// moving the cursor.
29632963
///
29642964
/// If the cursor is at the end of the map then `None` is returned
@@ -2968,7 +2968,7 @@ impl<'a, K, V, A> CursorMut<'a, K, V, A> {
29682968
Some((&*k, v))
29692969
}
29702970

2971-
/// Returns a reference to the the key and value of the previous element
2971+
/// Returns a reference to the key and value of the previous element
29722972
/// without moving the cursor.
29732973
///
29742974
/// If the cursor is at the start of the map then `None` is returned.
@@ -3056,7 +3056,7 @@ impl<'a, K, V, A> CursorMutKey<'a, K, V, A> {
30563056
}
30573057
}
30583058

3059-
/// Returns a reference to the the key and value of the next element without
3059+
/// Returns a reference to the key and value of the next element without
30603060
/// moving the cursor.
30613061
///
30623062
/// If the cursor is at the end of the map then `None` is returned
@@ -3068,7 +3068,7 @@ impl<'a, K, V, A> CursorMutKey<'a, K, V, A> {
30683068
Some(kv)
30693069
}
30703070

3071-
/// Returns a reference to the the key and value of the previous element
3071+
/// Returns a reference to the key and value of the previous element
30723072
/// without moving the cursor.
30733073
///
30743074
/// If the cursor is at the start of the map then `None` is returned.

0 commit comments

Comments
 (0)