Loosen bounds on IntoShared<T>
This commit is contained in:
parent
5372d2c475
commit
21699e5899
|
@ -132,7 +132,7 @@ pub trait IntoShared {
|
|||
fn into_shared(self) -> Shared<Self>;
|
||||
}
|
||||
|
||||
impl<T: Composite<T> + Updateable + Clone + Debug + ?Sized> IntoShared for T {
|
||||
impl<T: Sized> IntoShared for T {
|
||||
fn into_shared(self) -> Shared<Self> {
|
||||
Arc::new(RwLock::new(self))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue