Skip to content

Commit

Permalink
Ext: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-kolarik committed Dec 22, 2023
1 parent 69e25cf commit ddae1fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/futures_signals_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ pub trait SignalExtMapOption<T, U> {
Self: Sized,
F: FnMut(&T) -> Option<U>;

fn unwrap_or_default<F>(self) -> UnwrapOrDefault<Self, T>
fn unwrap_or_default(self) -> UnwrapOrDefault<Self, T>
where
Self: Sized,
T: Default;
Expand Down Expand Up @@ -779,7 +779,7 @@ where
}
}

fn unwrap_or_default<F>(self) -> UnwrapOrDefault<Self, T>
fn unwrap_or_default(self) -> UnwrapOrDefault<Self, T>
where
Self: Sized,
T: Default,
Expand Down

0 comments on commit ddae1fd

Please sign in to comment.