From 4dbf71d33291ab9c6d83a06fa88f322d7078034c Mon Sep 17 00:00:00 2001 From: DJMcNab <36049421+DJMcNab@users.noreply.github.com> Date: Fri, 21 Dec 2018 22:41:09 +0000 Subject: Remove uneeded todo in lexer --- crates/ra_syntax/src/lexer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_syntax/src/lexer.rs') 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 { // if we find one, then this is an invalid character literal if ptr.at('\'') { ptr.bump(); - return CHAR; // TODO: error reporting + return CHAR; } LIFETIME } else { -- cgit v1.2.3