aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/parsing/lexer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/parsing/lexer.rs')
-rw-r--r--crates/ra_syntax/src/parsing/lexer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/parsing/lexer.rs b/crates/ra_syntax/src/parsing/lexer.rs
index 7cd7110de..bf6b4d637 100644
--- a/crates/ra_syntax/src/parsing/lexer.rs
+++ b/crates/ra_syntax/src/parsing/lexer.rs
@@ -107,9 +107,9 @@ pub fn first_token(text: &str) -> Option<ParsedToken> {
107#[derive(Debug, Clone, PartialEq, Eq, Hash)] 107#[derive(Debug, Clone, PartialEq, Eq, Hash)]
108pub enum TokenizeError { 108pub enum TokenizeError {
109 /// Base prefix was provided, but there were no digits 109 /// Base prefix was provided, but there were no digits
110 /// after it, e.g. `0x`. 110 /// after it, e.g. `0x`, `0b`.
111 EmptyInt, 111 EmptyInt,
112 /// Float exponent lacks digits e.g. `e+`, `E+`, `e-`, `E-`, 112 /// Float exponent lacks digits e.g. `12.34e+`, `12.3E+`, `12e-`, `1_E-`,
113 EmptyExponent, 113 EmptyExponent,
114 114
115 /// Block comment lacks trailing delimiter `*/` 115 /// Block comment lacks trailing delimiter `*/`