Rename to_shared to into_shared
This commit is contained in:
parent
2a7cae30b8
commit
ca58767372
|
@ -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,
|
||||
{
|
||||
|
|
|
@ -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(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue