diff options
| author | Ada Alakbarova <ada.alakbarova@proton.me> | 2025-08-09 14:49:19 +0200 |
|---|---|---|
| committer | Ada Alakbarova <ada.alakbarova@proton.me> | 2025-08-09 19:41:32 +0200 |
| commit | c0a3e4802a06dd644c59aa7eed4af4bf437d3853 (patch) | |
| tree | 909b6f67bc9c729680edaabe67066e7a182f4894 | |
| parent | ca77504943887037504c7fc0b9bf06dab3910373 (diff) | |
| download | rust-c0a3e4802a06dd644c59aa7eed4af4bf437d3853.tar.gz rust-c0a3e4802a06dd644c59aa7eed4af4bf437d3853.zip | |
`{BTree,Hash}Map`: add "`Entry` API" section heading
| -rw-r--r-- | library/alloc/src/collections/btree/map.rs | 2 | ||||
| -rw-r--r-- | library/std/src/collections/hash/map.rs | 2 |
2 files changed, 4 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: /// diff --git a/library/std/src/collections/hash/map.rs b/library/std/src/collections/hash/map.rs index edbdd041145..0c5d41bcee8 100644 --- a/library/std/src/collections/hash/map.rs +++ b/library/std/src/collections/hash/map.rs @@ -135,6 +135,8 @@ use crate::ops::Index; /// ]); /// ``` /// +/// ## `Entry` API +/// /// `HashMap` implements an [`Entry` API](#method.entry), which allows /// for complex methods of getting, setting, updating and removing keys and /// their values: |
