Skip to content

Commit 578bc05

Browse files
committed
Add issue link and trailing newline
1 parent fe1b1dd commit 578bc05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/ra_syntax/src/parsing/lexer.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,12 @@ pub fn classify_literal(text: &str) -> Option<Token> {
150150
mod tests {
151151
use super::*;
152152

153+
// https://github.com/rust-analyzer/rust-analyzer/issues/1592
153154
#[test]
154155
fn lex_float_literal() {
155156
assert_eq!(
156157
tokenize("42f64")[0],
157158
Token { kind: FLOAT_NUMBER, len: TextUnit::from_usize(5)}
158159
);
159160
}
160-
}
161+
}

0 commit comments

Comments
 (0)