diff --git a/src/types/entities/mod.rs b/src/types/entities/mod.rs index 8a06c35..3f075ce 100644 --- a/src/types/entities/mod.rs +++ b/src/types/entities/mod.rs @@ -124,7 +124,7 @@ pub trait Composite { vec } - fn to_shared(self) -> Shared + fn into_shared(self) -> Shared where Self: Sized, { diff --git a/tests/common/mod.rs b/tests/common/mod.rs index eae2b26..a267125 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -118,9 +118,9 @@ pub(crate) async fn setup() -> TestBundle { urls, user, instance, - guild: guild.to_shared(), - role: role.to_shared(), - channel: channel.to_shared(), + guild: guild.into_shared(), + role: role.into_shared(), + channel: channel.into_shared(), } }