Remove explicit lifetime to fix clippy-reported warning

This commit is contained in:
Slavi Pantaleev
2025-02-27 09:57:50 +02:00
parent 47d8edea70
commit 59e2746578

View File

@@ -10,8 +10,8 @@ use crate::{
strings, strings,
}; };
pub async fn get_effective_agent_for_purpose_or_complain<'a>( pub async fn get_effective_agent_for_purpose_or_complain(
bot: &'a Bot, bot: &Bot,
message_context: &MessageContext, message_context: &MessageContext,
agent_purpose: AgentPurpose, agent_purpose: AgentPurpose,
response_type: MessageResponseType, response_type: MessageResponseType,