mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
ra_syntax: moved ParsedToken derive attribute under the doc comment
This commit is contained in:
parent
a2bc4c2a74
commit
ffe00631d5
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue