From 612ddd2196fc2573baf8b1be85eb326f882fd2d3 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Fri, 7 Apr 2023 19:15:20 +0300 Subject: [PATCH] std: Mark two reexports that should be inlined as `doc(inline)` --- library/std/src/collections/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/std/src/collections/mod.rs b/library/std/src/collections/mod.rs index ae2baba09e68..575f56ff4df2 100644 --- a/library/std/src/collections/mod.rs +++ b/library/std/src/collections/mod.rs @@ -416,8 +416,10 @@ pub use alloc_crate::collections::{BTreeMap, BTreeSet, BinaryHeap}; pub use alloc_crate::collections::{LinkedList, VecDeque}; #[stable(feature = "rust1", since = "1.0.0")] +#[doc(inline)] pub use self::hash_map::HashMap; #[stable(feature = "rust1", since = "1.0.0")] +#[doc(inline)] pub use self::hash_set::HashSet; #[stable(feature = "try_reserve", since = "1.57.0")]