Remove explicit lifetime to fix clippy-reported warning
This commit is contained in:
@@ -10,8 +10,8 @@ use crate::{
|
||||
strings,
|
||||
};
|
||||
|
||||
pub async fn get_effective_agent_for_purpose_or_complain<'a>(
|
||||
bot: &'a Bot,
|
||||
pub async fn get_effective_agent_for_purpose_or_complain(
|
||||
bot: &Bot,
|
||||
message_context: &MessageContext,
|
||||
agent_purpose: AgentPurpose,
|
||||
response_type: MessageResponseType,
|
||||
|
||||
Reference in New Issue
Block a user