Skip to content

Commit

Permalink
fix Output with #generics for Add
Browse files Browse the repository at this point in the history
  • Loading branch information
yanganto committed Aug 9, 2024
1 parent ea1aa68 commit ce6c3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion struct-patch-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl Patch {
}

impl core::ops::Add<#struct_name #generics> for #name #generics #where_clause {
type Output = #struct_name;
type Output = #struct_name #generics;

fn add(mut self, rhs: #struct_name #generics) -> #struct_name #where_clause {
let mut rhs = rhs;
Expand Down

0 comments on commit ce6c3d7

Please sign in to comment.