fix: resolve clippy warnings and missing redis_key_separator field
This commit is contained in:
1 parent
a5e1a64247
commit
20622bc762
3 files changed
+3
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user