chore: add clarification comment for closure clones
All checks were successful
BotServer CI/CD / build (push) Successful in 2m3s

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-12 15:07:47 -03:00
parent e34481b7f8
commit 78130caaa1

View file

@ -67,6 +67,7 @@ pub fn add_suggestion_keyword(
user_session: UserSession,
engine: &mut Engine,
) {
// Each closure needs its own Arc<redis::Client> and UserSession clone
let cache = state.cache.clone();
let cache2 = state.cache.clone();
let cache3 = state.cache.clone();