@@ -2921,7 +2921,7 @@ impl<'a, K, V> Cursor<'a, K, V> {
29212921 /// Returns a reference to the key and value of the next element without
29222922 /// moving the cursor.
29232923 ///
2924- /// If the cursor is at the end of the map then `None` is returned
2924+ /// If the cursor is at the end of the map then `None` is returned.
29252925 #[ unstable( feature = "btree_cursors" , issue = "107540" ) ]
29262926 pub fn peek_next ( & self ) -> Option < ( & ' a K , & ' a V ) > {
29272927 self . clone ( ) . next ( )
@@ -2963,7 +2963,7 @@ impl<'a, K, V, A> CursorMut<'a, K, V, A> {
29632963 /// Returns a reference to the key and value of the next element without
29642964 /// moving the cursor.
29652965 ///
2966- /// If the cursor is at the end of the map then `None` is returned
2966+ /// If the cursor is at the end of the map then `None` is returned.
29672967 #[ unstable( feature = "btree_cursors" , issue = "107540" ) ]
29682968 pub fn peek_next ( & mut self ) -> Option < ( & K , & mut V ) > {
29692969 let ( k, v) = self . inner . peek_next ( ) ?;
@@ -3061,7 +3061,7 @@ impl<'a, K, V, A> CursorMutKey<'a, K, V, A> {
30613061 /// Returns a reference to the key and value of the next element without
30623062 /// moving the cursor.
30633063 ///
3064- /// If the cursor is at the end of the map then `None` is returned
3064+ /// If the cursor is at the end of the map then `None` is returned.
30653065 #[ unstable( feature = "btree_cursors" , issue = "107540" ) ]
30663066 pub fn peek_next ( & mut self ) -> Option < ( & mut K , & mut V ) > {
30673067 let current = self . current . as_mut ( ) ?;
0 commit comments