We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeef167 commit f0bcf00Copy full SHA for f0bcf00
1 file changed
typify-impl/src/util.rs
@@ -783,7 +783,6 @@ pub(crate) fn sanitize(input: &str, case: Case) -> String {
783
784
// If every case was special then none of them would be.
785
let out = match input {
786
- "async" => "async_".to_string(), // TODO syn should handle this case...
787
"+1" => "plus1".to_string(),
788
"-1" => "minus1".to_string(),
789
_ => to_case(&input.replace("'", "").replace(|c| !is_xid_continue(c), "-")),
0 commit comments