mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
6 lines
185 B
Rust
6 lines
185 B
Rust
pub fn normalize_ident(mut ident: &str) -> String {
|
|
if ident.starts_with('"') && ident.ends_with('"') {
|
|
ident = &ident[1..ident.len() - 1];
|
|
}
|
|
ident.to_lowercase()
|
|
}
|