From ffe00631d5823070d6ab9e92ae7cfb5dcb04200d Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sun, 26 Jan 2020 22:33:09 +0200 Subject: ra_syntax: moved ParsedToken derive attribute under the doc comment --- crates/ra_syntax/src/parsing/lexer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/ra_syntax/src/parsing/lexer.rs b/crates/ra_syntax/src/parsing/lexer.rs index 9f321cd06..7cd7110de 100644 --- a/crates/ra_syntax/src/parsing/lexer.rs +++ b/crates/ra_syntax/src/parsing/lexer.rs @@ -16,8 +16,8 @@ pub struct Token { pub len: TextUnit, } -#[derive(Debug)] /// Represents the result of parsing one token. Beware that the token may be malformed. +#[derive(Debug)] pub struct ParsedToken { /// Parsed token. pub token: Token, -- cgit v1.2.3