Loosen bounds on IntoShared<T>
This commit is contained in:
parent
b521928f81
commit
2209efc6a0
|
@ -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