mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Syntax highlighting for escape sequences in strings
This commit is contained in:
parent
931f317399
commit
2145e2d878
12 changed files with 38 additions and 5 deletions
|
@ -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);
|
||||
}"#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue