Gateway: Remove lifetime from Serenity setup trait (#103)

This matches a recent serenity change where `ClientBuilder` no longer has an explicit lifetime parameter.

This was tested using `cargo make ready`.
This commit is contained in:
Kyle Simpson
2021-11-05 22:51:55 +00:00
parent 8dedf3bf01
commit 12c76a9046

View File

@@ -70,7 +70,7 @@ pub trait SerenityInit {
fn register_songbird_from_config(self, config: Config) -> Self;
}
impl SerenityInit for ClientBuilder<'_> {
impl SerenityInit for ClientBuilder {
fn register_songbird(self) -> Self {
register(self)
}