diff options
author | Veetaha <[email protected]> | 2020-01-26 20:33:09 +0000 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-02-03 22:00:55 +0000 |
commit | ffe00631d5823070d6ab9e92ae7cfb5dcb04200d (patch) | |
tree | 0850964b4aa1a10b9191118fef3353276dc95d29 /crates/ra_syntax/src/parsing/lexer.rs | |
parent | a2bc4c2a7453f2e72df6f2e6c3273d6b3f0114a9 (diff) |
ra_syntax: moved ParsedToken derive attribute under the doc comment
Diffstat (limited to 'crates/ra_syntax/src/parsing/lexer.rs')
-rw-r--r-- | crates/ra_syntax/src/parsing/lexer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
16 | pub len: TextUnit, | 16 | pub len: TextUnit, |
17 | } | 17 | } |
18 | 18 | ||
19 | #[derive(Debug)] | ||
20 | /// Represents the result of parsing one token. Beware that the token may be malformed. | 19 | /// Represents the result of parsing one token. Beware that the token may be malformed. |
20 | #[derive(Debug)] | ||
21 | pub struct ParsedToken { | 21 | pub struct ParsedToken { |
22 | /// Parsed token. | 22 | /// Parsed token. |
23 | pub token: Token, | 23 | pub token: Token, |