We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca82b35 commit fdab95dCopy full SHA for fdab95d
generator/src/codegen/mod.rs
@@ -25,7 +25,7 @@ pub fn generate<P: AsRef<Path>>(spec: Specification, base_path: P) -> io::Result
25
(split[0].to_owned(), split[1].to_owned(), res_spec)
26
}).group_by(|&(ref service_name, _, _)| service_name.to_owned());
27
28
- let property_groups = spec.property_types.into_iter().flatten().filter_map(|(prop_name, prop_spec)| {
+ let property_groups = Itertools::flatten(spec.property_types.into_iter()).filter_map(|(prop_name, prop_spec)| {
29
if prop_name.starts_with("AWS::") {
30
let split = prop_name[5..].split("::").collect::<Vec<_>>();
31
assert!(split.len() == 2);
0 commit comments