diff --git a/src/framework/standard/help_commands.rs b/src/framework/standard/help_commands.rs index 6a911e6b0f5..d33af74ed1d 100644 --- a/src/framework/standard/help_commands.rs +++ b/src/framework/standard/help_commands.rs @@ -687,12 +687,12 @@ fn fetch_all_eligible_commands_in_group<'rec, 'a: 'rec>( /// Fetch groups with their commands. #[cfg(feature = "cache")] -async fn create_command_group_commands_pair_from_groups<'a>( +async fn create_command_group_commands_pair_from_groups( ctx: &Context, msg: &Message, groups: &[&'static CommandGroup], owners: &HashSet, - help_options: &'a HelpOptions, + help_options: &HelpOptions, ) -> Vec { let mut listed_groups: Vec = Vec::default(); diff --git a/src/model/guild/mod.rs b/src/model/guild/mod.rs index 12654ec20e0..bd165885e63 100644 --- a/src/model/guild/mod.rs +++ b/src/model/guild/mod.rs @@ -948,10 +948,10 @@ impl Guild { /// lacks permission. Otherwise returns [`Error::Http`], as well as if invalid data is given. /// /// [Create Guild Expressions]: Permissions::CREATE_GUILD_EXPRESSIONS - pub async fn create_sticker<'a>( + pub async fn create_sticker( &self, cache_http: impl CacheHttp, - builder: CreateSticker<'a>, + builder: CreateSticker<'_>, ) -> Result { self.id.create_sticker(cache_http.http(), builder).await } diff --git a/src/model/guild/partial_guild.rs b/src/model/guild/partial_guild.rs index c155d3aca79..5deed8e0802 100644 --- a/src/model/guild/partial_guild.rs +++ b/src/model/guild/partial_guild.rs @@ -648,10 +648,10 @@ impl PartialGuild { /// lacks permission. Otherwise returns [`Error::Http`], as well as if invalid data is given. /// /// [Create Guild Expressions]: Permissions::CREATE_GUILD_EXPRESSIONS - pub async fn create_sticker<'a>( + pub async fn create_sticker( &self, cache_http: impl CacheHttp, - builder: CreateSticker<'a>, + builder: CreateSticker<'_>, ) -> Result { self.id.create_sticker(cache_http, builder).await }