Skip to content

Commit 482565f

Browse files
authored
AdtDef docs: grammar fixes.
1 parent 65852a4 commit 482565f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1939,7 +1939,7 @@ pub struct FieldDef {
19391939
}
19401940

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

0 commit comments

Comments
 (0)