Adjust comments on StrLit
.
This commit is contained in:
parent
e4a9150872
commit
1c65264f3c
1 changed files with 1 additions and 2 deletions
|
@ -1737,7 +1737,7 @@ pub struct MetaItemLit {
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Same as `Lit`, but restricted to string literals.
|
/// Similar to `MetaItemLit`, but restricted to string literals.
|
||||||
#[derive(Clone, Copy, Encodable, Decodable, Debug)]
|
#[derive(Clone, Copy, Encodable, Decodable, Debug)]
|
||||||
pub struct StrLit {
|
pub struct StrLit {
|
||||||
/// The original literal token as written in source code.
|
/// The original literal token as written in source code.
|
||||||
|
@ -1746,7 +1746,6 @@ pub struct StrLit {
|
||||||
pub suffix: Option<Symbol>,
|
pub suffix: Option<Symbol>,
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
/// The unescaped "semantic" representation of the literal lowered from the original token.
|
/// The unescaped "semantic" representation of the literal lowered from the original token.
|
||||||
/// FIXME: Remove this and only create the semantic representation during lowering to HIR.
|
|
||||||
pub symbol_unescaped: Symbol,
|
pub symbol_unescaped: Symbol,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue