Skip to content

Commit

Permalink
Gateway: Remove lifetime from Serenity setup trait (serenity-rs#103)
Browse files Browse the repository at this point in the history
This matches a recent serenity change where `ClientBuilder` no longer has an explicit lifetime parameter.

This was tested using `cargo make ready`.
  • Loading branch information
FelixMcFelix committed Jan 5, 2022
1 parent d63e1d8 commit 28e370a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serenity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 28e370a

Please sign in to comment.