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