aya-gen: fix lint error

pull/239/head
Alessandro Decina 3 years ago
parent 9a642d373f
commit 37afde3fca

@ -62,7 +62,7 @@ impl<'a> GetterList<'a> {
.get(field_ty_ident)
.unwrap_or_else(|| panic!("{}", field_ty_ident.to_string()))
.1;
getters.extend(self.getters(field_ident, sub_fields).drain(..).map(
getters.extend(self.getters(field_ident, sub_fields).into_iter().map(
|mut getter| {
getter.prefix.insert(0, ident);
getter

Loading…
Cancel
Save