stdlib: "tag" -> "enum"

This commit is contained in:
Patrick Walton 2012-01-19 15:20:57 -08:00
parent 7e21be5304
commit c5a407b11b
15 changed files with 39 additions and 39 deletions

View file

@ -112,7 +112,7 @@ mod chained {
mutable next: chain<K, V>
};
tag chain<K, V> {
enum chain<K, V> {
present(@entry<K, V>);
absent;
}
@ -124,7 +124,7 @@ mod chained {
eqer: eqfn<K>
};
tag search_result<K, V> {
enum search_result<K, V> {
not_found;
found_first(uint, @entry<K,V>);
found_after(@entry<K,V>, @entry<K,V>);