Skip to content

Commit

Permalink
Use MergeWith recursively in MaybePartial impl
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Nov 11, 2022
1 parent e73f820 commit 88bc99e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/fj-kernel/src/partial/maybe_partial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ where
impl<T> MergeWith for MaybePartial<T>
where
T: HasPartial,
T::Partial: MergeWith,
{
fn merge_with(self, other: impl Into<Self>) -> Self {
match (self, other.into()) {
Expand Down

0 comments on commit 88bc99e

Please sign in to comment.