Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
piniom committed Sep 30, 2024
1 parent 7716410 commit ca4a942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cairo-serde-derive/src/derive_enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn derive_enum(ident: Ident, data: DataEnum) -> TokenStream {
.variants
.iter()
.enumerate()
.map(|(i, v)| derive_enum_variant(&ident, i, &v))
.map(|(i, v)| derive_enum_variant(&ident, i, v))
.collect::<Vec<_>>()
.into_iter()
.unzip_n_vec();
Expand Down Expand Up @@ -100,7 +100,7 @@ fn derive_enum_variant(
(
derive_variant_cairo_serialized_size(&fields, &types),
derive_variant_cairo_serialize(index, &fields, &types),
derive_variant_cairo_deserialize(ident, &variant, &fields, &types),
derive_variant_cairo_deserialize(ident, variant, &fields, &types),
)
}

Expand Down

0 comments on commit ca4a942

Please sign in to comment.