diff options
-rw-r--r-- | src/parser.rs | 1 | ||||
-rw-r--r-- | tests/valid/string-escapes.toml | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/parser.rs b/src/parser.rs index 8065aa8..f3bfdb6 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -369,7 +369,6 @@ impl<'a> Parser<'a> { Some((_, 'f')) => Some('\u{c}'), Some((_, 'r')) => Some('\u{d}'), Some((_, '"')) => Some('\u{22}'), - Some((_, '/')) => Some('\u{2f}'), Some((_, '\\')) => Some('\u{5c}'), Some((pos, c @ 'u')) | Some((pos, c @ 'U')) => { diff --git a/tests/valid/string-escapes.toml b/tests/valid/string-escapes.toml index 2d64500..9f9a8c0 100644 --- a/tests/valid/string-escapes.toml +++ b/tests/valid/string-escapes.toml @@ -4,5 +4,5 @@ newline = "This string has a \n new line character." formfeed = "This string has a \f form feed character." carriage = "This string has a \r carriage return character." quote = "This string has a \" quote character." -slash = "This string has a \/ slash character." +slash = "This string has a / slash character." backslash = "This string has a \\ backslash character." |