fix tests
This commit is contained in:
1 parent
73b7f450a5
commit
b7c9817cf3
6 files changed
+52
-42
No files matched your search
@@ -15,7 +15,7 @@ pub struct MappedSignal<U: 'static + ?Sized> {
|
||||
|
||||
impl MappedSignal<()> {
|
||||
/// Create a new mapped signal.
|
||||
pub fn new<T, S: Storage<SignalData<T>>, U>(
|
||||
pub fn new<T, S: Storage<SignalData<T>>, U: ?Sized>(
|
||||
signal: Signal<T, S>,
|
||||
mapping: impl Fn(&T) -> &U + 'static,
|
||||
) -> MappedSignal<
|
||||
|
||||
Reference in new issue
Block a user