fix: resolve clippy warnings and missing redis_key_separator field

This commit is contained in:
t8y2 committed 2026-06-10 20:05:20 +08:00
1 parent a5e1a64247
commit 20622bc762
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -169,7 +169,7 @@ fn is_safe_read_pragma(upper_stripped: &str) -> bool {
let pragma_name = &rest[..name_end];
// Check if it's in the safe list
if !SAFE_READ_PRAGMA_NAMES.iter().any(|&safe| pragma_name == safe) {
if !SAFE_READ_PRAGMA_NAMES.contains(&pragma_name) {
return false;
}