File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 12
12
//! [`IndexSet`]: set/struct.IndexSet.html
13
13
//!
14
14
//!
15
+ //! ### Feature Highlights
15
16
//!
16
- //! ## Rust Version
17
+ //! [`IndexMap`] and [`IndexSet`] are drop-in compatible with the std `HashMap`
18
+ //! and `HashSet`, but they also have some features of note:
19
+ //!
20
+ //! - The ordering semantics (see their documentation for details)
21
+ //! - Sorting methods and the [`.pop()`][IndexMap::pop] methods.
22
+ //! - The [`Equivalent`] trait, which offers more flexible equality definitions
23
+ //! between borrowed and owned versions of keys.
24
+ //! - The [`MutableKeys`][map::MutableKeys] trait, which gives opt-in mutable
25
+ //! access to hash map keys.
26
+ //!
27
+ //! ### Rust Version
17
28
//!
18
29
//! This version of indexmap requires Rust 1.18 or later, or 1.30+ for
19
30
//! development builds, and Rust 1.36+ for using with `alloc` (without `std`),
You can’t perform that action at this time.
0 commit comments