mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +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,
|
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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue