From edd86126f7d35c698d93236cdcc713e5f0a2db53 Mon Sep 17 00:00:00 2001 From: Joe Pletcher Date: Wed, 25 Jan 2012 00:48:51 -0800 Subject: [PATCH] Added a small note to help explain tag's in older code. --- doc/rust.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/rust.md b/doc/rust.md index ca545bd6ee6..ccdf43eb54a 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -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