Skip to content

Commit 64b720e

Browse files
BennoLossinRalfJung
andcommitted
fix typo
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent 1ee4a9c commit 64b720e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_ast/src/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2488,7 +2488,7 @@ pub enum TyKind {
24882488
ImplTrait(NodeId, #[visitable(extra = BoundKind::Impl)] GenericBounds),
24892489
/// No-op; kept solely so that we can pretty-print faithfully.
24902490
Paren(Box<Ty>),
2491-
/// A `field_of` expression (e.g., `builtin # field_of(Struct, field)`).
2491+
/// A `field_of` expression (e.g., `builtin # field_of(Struct, fields)`).
24922492
///
24932493
/// Usually not written directly in user code but
24942494
/// indirectly via the macro `core::field::field_of!(...)`.

0 commit comments

Comments
 (0)