Skip to content

Commit

Permalink
small alignment formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
roignpar committed Apr 5, 2024
1 parent f93228f commit 06c2dee
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/merge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,9 @@ fn field_bindings(fields: &Fields, args: &Args) -> TokenStream {
}
} else {
quote! {
if let Some(value) = Option::from(opt.#field_name) {
self.#field_name = value;
}

if let Some(value) = Option::from(opt.#field_name) {
self.#field_name = value;
}
}
};

Expand Down

0 comments on commit 06c2dee

Please sign in to comment.