@@ -22,16 +22,6 @@ macro_rules! hash_map {
22
22
} ;
23
23
}
24
24
25
- /// Deprecated. Use [`hash_map!`] instead.
26
- ///
27
- #[ deprecated = "deprecated in favour of `hash_map!`. Will be removed in `map-macro v0.3.0`" ]
28
- #[ macro_export]
29
- macro_rules! map {
30
- { $( $k: expr => $v: expr) ,* $( , ) ?} => {
31
- :: std:: collections:: HashMap :: from( [ $( ( $k, $v) , ) * ] )
32
- } ;
33
- }
34
-
35
25
/// Explicitly typed equivalent of [`hash_map!`], suitable for
36
26
/// [trait object values](crate#explicitly-typed-values-for-trait-objects).
37
27
///
@@ -60,16 +50,6 @@ macro_rules! hash_map_e {
60
50
} ;
61
51
}
62
52
63
- /// Deprecated. Use [`hash_map_e!`] instead.
64
- ///
65
- #[ deprecated = "deprecated in favour of `hash_map_e!`. Will be removed in `map-macro v0.3.0`" ]
66
- #[ macro_export]
67
- macro_rules! map_e {
68
- { $( $k: expr => $v: expr) ,* $( , ) ?} => {
69
- :: std:: collections:: HashMap :: from( [ $( ( $k, $v as _) , ) * ] )
70
- } ;
71
- }
72
-
73
53
/// Macro for creating a [`BTreeMap`](::std::collections::BTreeMap).
74
54
///
75
55
/// Syntactic sugar for [`BTreeMap::from`](::std::collections::BTreeMap::from).
@@ -141,16 +121,6 @@ macro_rules! hash_set {
141
121
} ;
142
122
}
143
123
144
- /// Deprecated. Use [`hash_set!`] instead.
145
- ///
146
- #[ deprecated = "deprecated in favour of `hash_set!`. Will be removed in `map-macro v0.3.0`" ]
147
- #[ macro_export]
148
- macro_rules! set {
149
- { $( $v: expr) ,* $( , ) ?} => {
150
- :: std:: collections:: HashSet :: from( [ $( $v, ) * ] )
151
- } ;
152
- }
153
-
154
124
/// Macro for creating a [`BTreeSet`](::std::collections::BTreeSet).
155
125
///
156
126
/// Syntactic sugar for [`BTreeSet::from`](::std::collections::BTreeSet::from).
0 commit comments