diff --git a/core/util.rs b/core/util.rs index d3684750a..7c5df802d 100644 --- a/core/util.rs +++ b/core/util.rs @@ -1,6 +1,6 @@ pub fn normalize_ident(ident: &str) -> String { if ident.starts_with('"') && ident.ends_with('"') { - ident[1..ident.len() - 1].to_string().to_lowercase() + ident[1..ident.len() - 1].to_lowercase() } else { ident.to_lowercase() }