summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Atelsek <kesleta3@gmail.com>2023-05-15 15:13:21 -0400
committerBenjamin Atelsek <kesleta3@gmail.com>2023-05-15 15:13:21 -0400
commit9688a6cebb8478b504172980002ac34c29bd79ef (patch)
treeaf4b9381841cec39d76c68f246aa9011630d72e7
parent63b2ee0fafdb0043cb302a6d2e138122fb2c52bd (diff)
downloadrust-9688a6cebb8478b504172980002ac34c29bd79ef.tar.gz
Fixed typo
-rw-r--r--library/alloc/src/collections/btree/map.rs2
1 files changed, 1 insertions, 1 deletions
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 @@ impl<'a, K, V, A> CursorMut<'a, K, V, A> {
})
}
- /// 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