Skip to content

Commit

Permalink
Loosen bounds on IntoShared<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfl0wer committed Jan 22, 2024
1 parent b521928 commit 2209efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/entities/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 2209efc

Please sign in to comment.