Rename to_shared to into_shared

This commit is contained in:
bitfl0wer 2024-01-21 17:10:24 +01:00
parent 22e8ca2a97
commit 400d4c74cf
2 changed files with 4 additions and 4 deletions

View File

@ -124,7 +124,7 @@ pub trait Composite<T: Updateable + Clone + Debug> {
vec vec
} }
fn to_shared(self) -> Shared<Self> fn into_shared(self) -> Shared<Self>
where where
Self: Sized, Self: Sized,
{ {

View File

@ -118,9 +118,9 @@ pub(crate) async fn setup() -> TestBundle {
urls, urls,
user, user,
instance, instance,
guild: guild.to_shared(), guild: guild.into_shared(),
role: role.to_shared(), role: role.into_shared(),
channel: channel.to_shared(), channel: channel.into_shared(),
} }
} }