mirror of https://github.com/hannobraun/Fornjot
Use `MergeWith` recursively in `MaybePartial` impl
This commit is contained in:
parent
e73f8202cf
commit
88bc99e13e
|
@ -111,6 +111,7 @@ where
|
||||||
impl<T> MergeWith for MaybePartial<T>
|
impl<T> MergeWith for MaybePartial<T>
|
||||||
where
|
where
|
||||||
T: HasPartial,
|
T: HasPartial,
|
||||||
|
T::Partial: MergeWith,
|
||||||
{
|
{
|
||||||
fn merge_with(self, other: impl Into<Self>) -> Self {
|
fn merge_with(self, other: impl Into<Self>) -> Self {
|
||||||
match (self, other.into()) {
|
match (self, other.into()) {
|
||||||
|
|
Loading…
Reference in New Issue