Loosen bounds on IntoShared<T>

This commit is contained in:
bitfl0wer 2024-01-22 15:00:46 +01:00
parent b521928f81
commit 2209efc6a0
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}