mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
Added a small note to help explain tag's in older code.
This commit is contained in:
parent
b02b65a547
commit
edd86126f7
@ -1058,7 +1058,9 @@ accessed through the components `x` and `y`, and laid out in memory with the
|
||||
An _enumeration item_ simultaneously declares a new nominal
|
||||
[enumerated type](#enumerated-types) as well as a set of *constructors* that
|
||||
can be used to create or pattern-match values of the corresponding enumerated
|
||||
type.
|
||||
type. Note that `enum` previously was refered to as a `tag`, however this
|
||||
definition has been deprecated. While `tag` is no longer used, the two are
|
||||
synonymous.
|
||||
|
||||
The constructors of an `enum` type may be recursive: that is, each constructor
|
||||
may take an argument that refers, directly or indirectly, to the enumerated
|
||||
|
Loading…
Reference in New Issue
Block a user