Fix ReadOnlySignal alias without storage (#4735)
This commit is contained in:
1 parent
92792aded9
commit
fa5d7e681b
1 file changed
+1
-1
@@ -14,7 +14,7 @@ use crate::{
|
|||||||
since = "0.7.0",
|
since = "0.7.0",
|
||||||
note = "Use `ReadSignal` instead. Will be removed in 0.8"
|
note = "Use `ReadSignal` instead. Will be removed in 0.8"
|
||||||
)]
|
)]
|
||||||
pub type ReadOnlySignal<T, S> = ReadSignal<T, S>;
|
pub type ReadOnlySignal<T, S = UnsyncStorage> = ReadSignal<T, S>;
|
||||||
|
|
||||||
/// A boxed version of [Readable] that can be used to store any readable type.
|
/// A boxed version of [Readable] that can be used to store any readable type.
|
||||||
pub struct ReadSignal<T: ?Sized, S: BoxedSignalStorage<T> = UnsyncStorage> {
|
pub struct ReadSignal<T: ?Sized, S: BoxedSignalStorage<T> = UnsyncStorage> {
|
||||||
|
|||||||
Reference in new issue
Block a user