4 ms·
Rust is 99% easy to parse, but there's one, rarely used, syntactic construct that's context-sensitive.
by steveklabnik 10y ago
Rust is 99% easy to parse, but there's one, rarely used, syntactic construct that's context-sensitive.
- saosebastiao 10y agoWhich one is that?
- steveklabnik 10y agoRaw string literals https://doc.rust-lang.org/stable/reference.html#raw-string-literals https://doc.rust-lang.org/stable/reference.html#raw-string-l... and raw byte string literals https://doc.rust-lang.org/stable/reference.html#raw-byte-string-literals https://doc.rust-lang.org/stable/reference.html#raw-byte-str... r"…", r#"…"#, r##"…"## br"…", br#"…"#, br##"…"## you need to count the #s.