There was an error while loading. Please reload this page.
2 parents a044f41 + 9c1b237 commit 4dc182dCopy full SHA for 4dc182d
1 file changed
node-types/src/lib.rs
@@ -357,8 +357,8 @@ fn escape_name(name: &str) -> String {
357
'-' => result.push_str("minus"),
358
'@' => result.push_str("at"),
359
_ if c.is_uppercase() => {
360
- result.push_str(&c.to_lowercase().to_string());
361
- result.push('_')
+ result.push('_');
+ result.push_str(&c.to_lowercase().to_string())
362
}
363
_ => result.push(c),
364
0 commit comments