ra_syntax: moved ParsedToken derive attribute under the doc comment

This commit is contained in:
Veetaha 2020-01-26 22:33:09 +02:00
parent a2bc4c2a74
commit ffe00631d5

View file

@ -16,8 +16,8 @@ pub struct Token {
pub len: TextUnit, pub len: TextUnit,
} }
#[derive(Debug)]
/// Represents the result of parsing one token. Beware that the token may be malformed. /// Represents the result of parsing one token. Beware that the token may be malformed.
#[derive(Debug)]
pub struct ParsedToken { pub struct ParsedToken {
/// Parsed token. /// Parsed token.
pub token: Token, pub token: Token,