We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7e53bf + 02e1d42 commit ecde34fCopy full SHA for ecde34f
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