mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-12 03:34:20 +01:00
Use eq_ignore_ascii_case to for case insensitive compare
This commit is contained in:
@@ -44,7 +44,7 @@ pub fn translate_pragma(
|
||||
program.extend(&opts);
|
||||
let mut write = false;
|
||||
|
||||
if name.name.0.to_lowercase() == "pragma_list" {
|
||||
if name.name.0.eq_ignore_ascii_case("pragma_list") {
|
||||
list_pragmas(&mut program);
|
||||
return Ok(program);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user