Skip to content

Commit 4c81bdf

Browse files
BennoLossinRalfJung
andcommitted
fix typo
Co-authored-by: Ralf Jung <[email protected]>
1 parent a5bd96f commit 4c81bdf

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
@@ -2489,7 +2489,7 @@ pub enum TyKind {
24892489
ImplTrait(NodeId, #[visitable(extra = BoundKind::Impl)] GenericBounds),
24902490
/// No-op; kept solely so that we can pretty-print faithfully.
24912491
Paren(Box<Ty>),
2492-
/// A `field_of` expression (e.g., `builtin # field_of(Struct, field)`).
2492+
/// A `field_of` expression (e.g., `builtin # field_of(Struct, fields)`).
24932493
///
24942494
/// Usually not written directly in user code but
24952495
/// indirectly via the macro `core::field::field_of!(...)`.

0 commit comments

Comments
 (0)