From 578bc05ca41e095c61c64bdef255760c26736a11 Mon Sep 17 00:00:00 2001 From: Phil Ellison Date: Sun, 28 Jul 2019 20:25:06 +0100 Subject: Add issue link and trailing newline --- crates/ra_syntax/src/parsing/lexer.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ra_syntax/src/parsing/lexer.rs b/crates/ra_syntax/src/parsing/lexer.rs index f75e321c3..45ef88ac0 100644 --- a/crates/ra_syntax/src/parsing/lexer.rs +++ b/crates/ra_syntax/src/parsing/lexer.rs @@ -150,6 +150,7 @@ pub fn classify_literal(text: &str) -> Option { mod tests { use super::*; + // https://github.com/rust-analyzer/rust-analyzer/issues/1592 #[test] fn lex_float_literal() { assert_eq!( @@ -157,4 +158,4 @@ mod tests { Token { kind: FLOAT_NUMBER, len: TextUnit::from_usize(5)} ); } -} \ No newline at end of file +} -- cgit v1.2.3