fix tests

This commit is contained in:
Evan Almloff committed 2024-01-02 15:19:01 -06:00
1 parent 73b7f450a5
commit b7c9817cf3
6 files changed
+52 -42

No files matched your search

+1 -1
View File
@@ -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<