From 9688a6cebb8478b504172980002ac34c29bd79ef Mon Sep 17 00:00:00 2001 From: Benjamin Atelsek Date: Mon, 15 May 2023 15:13:21 -0400 Subject: [PATCH] Fixed typo --- library/alloc/src/collections/btree/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/src/collections/btree/map.rs b/library/alloc/src/collections/btree/map.rs index 2daef82d6f1..1f8a1ecba6e 100644 --- a/library/alloc/src/collections/btree/map.rs +++ b/library/alloc/src/collections/btree/map.rs @@ -3021,7 +3021,7 @@ pub fn key_value_mut(&mut self) -> Option<(&K, &mut V)> { }) } - /// Returns a mutable reference to the of the element that the cursor is + /// Returns a mutable reference to the key of the element that the cursor is /// currently pointing to. /// /// This returns `None` if the cursor is currently pointing to the