diff options
author | Aleksey Kladov <[email protected]> | 2019-03-23 07:53:48 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-03-23 08:07:09 +0000 |
commit | 4fd8cfd6adc554752a63aed9ed71d44b372ec4dc (patch) | |
tree | b96c4a3c4f1165fd394ce3a854dbe9e02d370a92 /crates/ra_syntax/src | |
parent | 2394a2ee35b40b1cb87369079860edf06d3b5a53 (diff) |
replace todo with fixme
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r-- | crates/ra_syntax/src/validation/char.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/validation/char.rs b/crates/ra_syntax/src/validation/char.rs index 3169ed590..c874e5d08 100644 --- a/crates/ra_syntax/src/validation/char.rs +++ b/crates/ra_syntax/src/validation/char.rs | |||
@@ -85,7 +85,7 @@ pub(super) fn is_ascii_escape(code: char) -> bool { | |||
85 | fn validate_ascii_code_escape(text: &str, range: TextRange, errors: &mut Vec<SyntaxError>) { | 85 | fn validate_ascii_code_escape(text: &str, range: TextRange, errors: &mut Vec<SyntaxError>) { |
86 | // An AsciiCodeEscape has 4 chars, example: `\xDD` | 86 | // An AsciiCodeEscape has 4 chars, example: `\xDD` |
87 | if !text.is_ascii() { | 87 | if !text.is_ascii() { |
88 | // TODO: Give a more precise error message (say what the invalid character was) | 88 | // FIXME: Give a more precise error message (say what the invalid character was) |
89 | errors.push(SyntaxError::new(AsciiCodeEscapeOutOfRange, range)); | 89 | errors.push(SyntaxError::new(AsciiCodeEscapeOutOfRange, range)); |
90 | } else if text.chars().count() < 4 { | 90 | } else if text.chars().count() < 4 { |
91 | errors.push(SyntaxError::new(TooShortAsciiCodeEscape, range)); | 91 | errors.push(SyntaxError::new(TooShortAsciiCodeEscape, range)); |