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.
1 parent a80570c commit 84cfe09Copy full SHA for 84cfe09
1 file changed
src/lit.rs
@@ -1089,10 +1089,7 @@ mod value {
1089
// c"...", cr"...", cr#"..."#
1090
// TODO: add a Lit::CStr variant?
1091
b'c' => return Lit::Verbatim(token),
1092
- b'(' => {
1093
- assert_eq!(repr, "(/*ERROR*/)");
1094
- return Lit::Verbatim(token);
1095
- }
+ b'(' if repr == "(/*ERROR*/)" => return Lit::Verbatim(token),
1096
_ => {}
1097
}
1098
0 commit comments