Syntax highlighting for escape sequences in strings

This commit is contained in:
Leander Tentrup 2020-06-17 15:27:13 +02:00
parent 931f317399
commit 2145e2d878
12 changed files with 38 additions and 5 deletions

View file

@ -246,6 +246,10 @@ fn main() {
println!(r"Hello, {}!", "world");
// escape sequences
println!("Hello\nWorld");
println!("\u{48}\x65\x6C\x6C\x6F World");
println!("{\x41}", A = 92);
println!("{ничоси}", ничоси = 92);
}"#