{BTree,Hash}Map: add "Entry API" section heading

This commit is contained in:
Ada Alakbarova 2025-08-09 14:49:19 +02:00
parent ca77504943
commit c0a3e4802a
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View file

@ -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:
///

View file

@ -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: