about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-05-16 11:39:41 +0200
committerGitHub <noreply@github.com>2023-05-16 11:39:41 +0200
commit0db9de843d6fe199f508694a27ef20f6025d56a2 (patch)
tree0c0cf20562e9721f7d60d3f8fc823489f8a2b437
parent87e25f78550cd282927f86197552992f191a6074 (diff)
parent9688a6cebb8478b504172980002ac34c29bd79ef (diff)
downloadrust-0db9de843d6fe199f508694a27ef20f6025d56a2.tar.gz
rust-0db9de843d6fe199f508694a27ef20f6025d56a2.zip
Rollup merge of #111617 - kesleta:master, r=Dylan-DPC
Fixed typo

Fixed typo in BTree Curser.
-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