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,
}
#[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,