Skip to content

Commit dac6920

Browse files
committed
Adjust comments on StrLit.
1 parent 281cc7d commit dac6920

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/rustc_ast/src/ast.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,7 @@ pub struct MetaItemLit {
17091709
pub span: Span,
17101710
}
17111711

1712-
/// Same as `Lit`, but restricted to string literals.
1712+
/// Similar to `MetaItemLit`, but restricted to string literals.
17131713
#[derive(Clone, Copy, Encodable, Decodable, Debug)]
17141714
pub struct StrLit {
17151715
/// The original literal token as written in source code.
@@ -1718,7 +1718,6 @@ pub struct StrLit {
17181718
pub suffix: Option<Symbol>,
17191719
pub span: Span,
17201720
/// The unescaped "semantic" representation of the literal lowered from the original token.
1721-
/// FIXME: Remove this and only create the semantic representation during lowering to HIR.
17221721
pub symbol_unescaped: Symbol,
17231722
}
17241723

0 commit comments

Comments
 (0)