Skip to content

Commit f0bcf00

Browse files
author
Eric Szentiványi
authored
chore: remove redundant pattern (#956)
1 parent aeef167 commit f0bcf00

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

typify-impl/src/util.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,6 @@ pub(crate) fn sanitize(input: &str, case: Case) -> String {
783783

784784
// If every case was special then none of them would be.
785785
let out = match input {
786-
"async" => "async_".to_string(), // TODO syn should handle this case...
787786
"+1" => "plus1".to_string(),
788787
"-1" => "minus1".to_string(),
789788
_ => to_case(&input.replace("'", "").replace(|c| !is_xid_continue(c), "-")),

0 commit comments

Comments
 (0)