1
0
Fork 0

Fix typo in proc macro

This commit is contained in:
Robbert van der Helm 2022-03-03 20:48:40 +01:00
parent be4bbd4400
commit e4ca8ba75a

View file

@ -237,7 +237,7 @@ pub fn derive_params(input: TokenStream) -> TokenStream {
let nested_fields: &[&dyn Params] = &[#(&self.#nested_fields_idents),*]; let nested_fields: &[&dyn Params] = &[#(&self.#nested_fields_idents),*];
for nested_params in nested_fields { for nested_params in nested_fields {
unsafe { serialized.extend(Pin::new_unchecked(*nested_params).serialized_fields()) }; unsafe { serialized.extend(Pin::new_unchecked(*nested_params).serialize_fields()) };
} }
serialized serialized