From 28e370abf5b5dc217445d837b15561298ac5ba48 Mon Sep 17 00:00:00 2001 From: Kyle Simpson Date: Fri, 5 Nov 2021 22:51:55 +0000 Subject: [PATCH] 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`. --- src/serenity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serenity.rs b/src/serenity.rs index 014ff749d..92d66e1f4 100644 --- a/src/serenity.rs +++ b/src/serenity.rs @@ -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) }