Skip to content

Commit ac9e694

Browse files
committed
Update manual for single-element tuple types
1 parent d1e2d29 commit ac9e694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,7 @@ to the record type-constructor. The differences are as follows:
25792579

25802580
Tuple types and values are denoted by listing the types or values of their
25812581
elements, respectively, in a parenthesized, comma-separated
2582-
list. Single-element tuples are not legal; all tuples have two or more values.
2582+
list.
25832583

25842584
The members of a tuple are laid out in memory contiguously, like a record, in
25852585
order specified by the tuple type.

0 commit comments

Comments
 (0)