Update few files after comparison traits renaming

There were still Total{Ord,Eq} in docs and src/etc
This commit is contained in:
Piotr Jawniak 2014-06-22 09:31:39 +02:00
parent 4c39962d32
commit 0b9e4fcaff
5 changed files with 8 additions and 8 deletions

View file

@ -26,7 +26,7 @@ The standard library provides three owned map/set types:
implement `Eq` and `Hash`
* `collections::TrieMap` and `collections::TrieSet`, requiring the keys to be `uint`
* `collections::TreeMap` and `collections::TreeSet`, requiring the keys
to implement `TotalOrd`
to implement `Ord`
These maps do not use managed pointers so they can be sent between tasks as
long as the key and value types are sendable. Neither the key or value type has

View file

@ -2270,7 +2270,7 @@ impl<T: PartialEq> PartialEq for Foo<T> {
Supported traits for `deriving` are:
* Comparison traits: `PartialEq`, `TotalEq`, `PartialOrd`, `TotalOrd`.
* Comparison traits: `PartialEq`, `Eq`, `PartialOrd`, `Ord`.
* Serialization: `Encodable`, `Decodable`. These require `serialize`.
* `Clone`, to create `T` from `&T` via a copy.
* `Hash`, to iterate over the bytes in a data type.

View file

@ -2619,8 +2619,8 @@ fn main() {
}
~~~
The full list of derivable traits is `PartialEq`, `TotalEq`, `Ord`,
`TotalOrd`, `Encodable`, `Decodable`, `Clone`,
The full list of derivable traits is `PartialEq`, `Eq`, `PartialOrd`,
`Ord`, `Encodable`, `Decodable`, `Clone`,
`Hash`, `Rand`, `Default`, `Zero`, `FromPrimitive` and `Show`.
# Crates and the module system