builtin: add string representation of ESC (#9799)

pull/9814/head
AAAA 2021-04-19 03:41:04 -05:00 committed by GitHub
parent 75d1b54f7b
commit a45da620e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -472,6 +472,7 @@ pub fn (b byte) str_escaped() string {
11 { r'`\v`' }
12 { r'`\f`' }
13 { r'`\r`' }
27 { r'`\e`' }
32...126 { b.ascii_str() }
else { '0x' + b.hex() }
}