@@ -246,7 +246,6 @@ impl ArgMatches {
246
246
/// assert_eq!(vals, [["a", "b"], ["c", "d"]]);
247
247
/// ```
248
248
#[ cfg_attr( debug_assertions, track_caller) ]
249
- #[ cfg( feature = "unstable-grouped" ) ]
250
249
pub fn get_occurrences < T : Any + Clone + Send + Sync + ' static > (
251
250
& self ,
252
251
id : & str ,
@@ -348,7 +347,6 @@ impl ArgMatches {
348
347
/// [`OsStr`]: std::ffi::OsStr
349
348
/// [values]: OsValues
350
349
/// [`String`]: std::string::String
351
- #[ cfg( feature = "unstable-grouped" ) ]
352
350
#[ cfg_attr( debug_assertions, track_caller) ]
353
351
pub fn get_raw_occurrences ( & self , id : & str ) -> Option < RawOccurrences < ' _ > > {
354
352
MatchesError :: unwrap ( id, self . try_get_raw_occurrences ( id) )
@@ -460,7 +458,6 @@ impl ArgMatches {
460
458
/// let vals: Vec<Vec<String>> = m.remove_occurrences("x").unwrap().map(Iterator::collect).collect();
461
459
/// assert_eq!(vals, [["a", "b"], ["c", "d"]]);
462
460
/// ```
463
- #[ cfg( feature = "unstable-grouped" ) ]
464
461
#[ cfg_attr( debug_assertions, track_caller) ]
465
462
pub fn remove_occurrences < T : Any + Clone + Send + Sync + ' static > (
466
463
& mut self ,
@@ -1110,7 +1107,6 @@ impl ArgMatches {
1110
1107
}
1111
1108
1112
1109
/// Non-panicking version of [`ArgMatches::get_occurrences`]
1113
- #[ cfg( feature = "unstable-grouped" ) ]
1114
1110
pub fn try_get_occurrences < T : Any + Clone + Send + Sync + ' static > (
1115
1111
& self ,
1116
1112
id : & str ,
@@ -1143,7 +1139,6 @@ impl ArgMatches {
1143
1139
}
1144
1140
1145
1141
/// Non-panicking version of [`ArgMatches::get_raw_occurrences`]
1146
- #[ cfg( feature = "unstable-grouped" ) ]
1147
1142
pub fn try_get_raw_occurrences (
1148
1143
& self ,
1149
1144
id : & str ,
@@ -1196,7 +1191,6 @@ impl ArgMatches {
1196
1191
}
1197
1192
1198
1193
/// Non-panicking version of [`ArgMatches::remove_occurrences`]
1199
- #[ cfg( feature = "unstable-grouped" ) ]
1200
1194
pub fn try_remove_occurrences < T : Any + Clone + Send + Sync + ' static > (
1201
1195
& mut self ,
1202
1196
id : & str ,
@@ -1868,9 +1862,9 @@ impl<'a> Default for Indices<'a> {
1868
1862
}
1869
1863
}
1870
1864
1871
- #[ cfg( feature = "unstable-grouped" ) ]
1872
1865
#[ cfg_attr( debug_assertions, track_caller) ]
1873
1866
#[ inline]
1867
+ #[ cfg( feature = "unstable-grouped" ) ]
1874
1868
fn unwrap_string ( value : & AnyValue ) -> & str {
1875
1869
match value. downcast_ref :: < String > ( ) {
1876
1870
Some ( value) => value,
0 commit comments