Document that \0NNN and \xHH need more work

This commit is contained in:
Sylvestre Ledru 2023-12-04 21:20:47 +01:00 committed by GitHub
parent 4d5c034eb1
commit 9ef43191ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,7 @@ fn generate_escape_sequence(rng: &mut impl Rng) -> String {
let escape_sequences = [
"\\\\", "\\a", "\\b", "\\c", "\\e", "\\f", "\\n", "\\r", "\\t", "\\v", "\\0NNN", "\\xHH",
];
// \0NNN and \xHH need more work
escape_sequences.choose(rng).unwrap().to_string()
}