diff options
author | DJMcNab <[email protected]> | 2018-12-21 22:41:09 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-21 22:41:09 +0000 |
commit | 4dbf71d33291ab9c6d83a06fa88f322d7078034c (patch) | |
tree | a73586dba81a69019c513af28451b15d0c019872 /crates/ra_syntax/src/lexer.rs | |
parent | 184665ff9b7b64730ecf481c1914a74e7191a6dd (diff) |
Remove uneeded todo in lexer
Diffstat (limited to 'crates/ra_syntax/src/lexer.rs')
-rw-r--r-- | crates/ra_syntax/src/lexer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/lexer.rs b/crates/ra_syntax/src/lexer.rs index f388da273..c6acd095e 100644 --- a/crates/ra_syntax/src/lexer.rs +++ b/crates/ra_syntax/src/lexer.rs | |||
@@ -160,7 +160,7 @@ fn next_token_inner(c: char, ptr: &mut Ptr) -> SyntaxKind { | |||
160 | // if we find one, then this is an invalid character literal | 160 | // if we find one, then this is an invalid character literal |
161 | if ptr.at('\'') { | 161 | if ptr.at('\'') { |
162 | ptr.bump(); | 162 | ptr.bump(); |
163 | return CHAR; // TODO: error reporting | 163 | return CHAR; |
164 | } | 164 | } |
165 | LIFETIME | 165 | LIFETIME |
166 | } else { | 166 | } else { |