Skip to content

Commit b57040d

Browse files
committed
fix: add documentation feature flag for hash_map!
1 parent 3720f96 commit b57040d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/std/src/macros.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ macro_rules! dbg {
394394
/// An example usage of this macro could be the following
395395
///
396396
/// ```rust
397+
/// #![feature(hash_map_macro)]
398+
///
397399
/// let map = hash_map!{
398400
/// "key" => "value",
399401
/// "key1" => "value1"

0 commit comments

Comments
 (0)