Rename to_shared to into_shared

This commit is contained in:
bitfl0wer 2024-01-21 17:10:24 +01:00
parent 2a7cae30b8
commit ca58767372
No known key found for this signature in database
GPG Key ID: 0ACD574FCF5226CF
2 changed files with 4 additions and 4 deletions

View File

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

View File

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