Skip to content

Commit

Permalink
Gateway: Remove lifetime from Serenity setup trait (#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 Jul 22, 2022
1 parent 8dedf3b commit 12c76a9
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 12c76a9

Please sign in to comment.