Skip to content

Commit 1c65264

Browse files
committed
Adjust comments on StrLit.
1 parent e4a9150 commit 1c65264

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
@@ -1737,7 +1737,7 @@ pub struct MetaItemLit {
17371737
pub span: Span,
17381738
}
17391739

1740-
/// Same as `Lit`, but restricted to string literals.
1740+
/// Similar to `MetaItemLit`, but restricted to string literals.
17411741
#[derive(Clone, Copy, Encodable, Decodable, Debug)]
17421742
pub struct StrLit {
17431743
/// The original literal token as written in source code.
@@ -1746,7 +1746,6 @@ pub struct StrLit {
17461746
pub suffix: Option<Symbol>,
17471747
pub span: Span,
17481748
/// The unescaped "semantic" representation of the literal lowered from the original token.
1749-
/// FIXME: Remove this and only create the semantic representation during lowering to HIR.
17501749
pub symbol_unescaped: Symbol,
17511750
}
17521751

0 commit comments

Comments
 (0)