about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorAda Alakbarova <ada.alakbarova@proton.me>2025-08-09 14:49:19 +0200
committerAda Alakbarova <ada.alakbarova@proton.me>2025-08-09 19:41:32 +0200
commitc0a3e4802a06dd644c59aa7eed4af4bf437d3853 (patch)
tree909b6f67bc9c729680edaabe67066e7a182f4894 /library/alloc/src
parentca77504943887037504c7fc0b9bf06dab3910373 (diff)
downloadrust-c0a3e4802a06dd644c59aa7eed4af4bf437d3853.tar.gz
rust-c0a3e4802a06dd644c59aa7eed4af4bf437d3853.zip
`{BTree,Hash}Map`: add "`Entry` API" section heading
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/collections/btree/map.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/alloc/src/collections/btree/map.rs b/library/alloc/src/collections/btree/map.rs
index acbbb6df9a5..c4e599222e5 100644
--- a/library/alloc/src/collections/btree/map.rs
+++ b/library/alloc/src/collections/btree/map.rs
@@ -135,6 +135,8 @@ pub(super) const MIN_LEN: usize = node::MIN_LEN_AFTER_SPLIT;
 /// ]);
 /// ```
 ///
+/// ## `Entry` API
+///
 /// `BTreeMap` implements an [`Entry API`], which allows for complex
 /// methods of getting, setting, updating and removing keys and their values:
 ///