Use `MergeWith` recursively in `MaybePartial` impl

This commit is contained in:
Hanno Braun 2022-11-11 13:36:55 +01:00
parent e73f8202cf
commit 88bc99e13e
1 changed files with 1 additions and 0 deletions

View File

@ -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()) {