You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of rust-lang#138163 - hkBst:cleanup_lexer_unescape_macros, r=<try>
Separate the unescape functions but avoid duplicating code
Separate the unescape functions for string, byte string and C string, but avoid duplicating code via macro_rules.
Also plays with NonZero, since C strings cannot contain null bytes, which can be captured in the type system.
r? `@nnethercote`
0 commit comments