Skip to content

Commit

Permalink
AdtDef docs: grammar fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril authored Sep 10, 2019
1 parent 65852a4 commit 482565f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/ty/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1939,7 +1939,7 @@ pub struct FieldDef {
}

/// The definition of an [*algebraic data type (ADT)*][adt].
/// These include `struct`s (products), `enum` (sums).
/// These include `struct`s (products) and `enum`s (sums).
/// A `union` is also represented here but is not an ADT.
///
/// [adt]: https://en.wikipedia.org/wiki/Algebraic_data_type
Expand Down

0 comments on commit 482565f

Please sign in to comment.