fix(tests): suppress clippy expect warnings in enhance function

fix(timer): improve task removal logic in add_task method
refactor(notification): drop binding after emitting event
chore(Cargo): add lints section to Cargo.toml
This commit is contained in:
Tunglies
2025-11-20 14:59:49 +08:00
parent 4c8673fcb2
commit b3dc48d07e
5 changed files with 7 additions and 5 deletions

View File

@@ -692,6 +692,7 @@ pub async fn enhance() -> (Mapping, Vec<String>, HashMap<String, ResultLog>) {
(config, exists_keys, result_map)
}
#[allow(clippy::expect_used)]
#[cfg(test)]
mod tests {
use super::cleanup_proxy_groups;