summary refs log tree commit diff
path: root/src/libstd/reference.rs
AgeCommit message (Collapse)AuthorLines
2014-03-23std: remove the `equals` method from `TotalEq`.Huon Wilson-5/+1
`TotalEq` is now just an assertion about the `Eq` impl of a type (i.e. `==` is a total equality if a type implements `TotalEq`) so the extra method is just confusing. Also, a new method magically appeared as a hack to allow deriving to assert that the contents of a struct/enum are also TotalEq, because the deriving infrastructure makes it very hard to do anything but create a trait method. (You didn't hear about this horrible work-around from me :(.)
2014-02-07Cleaned up imports per coding standards.chromatic-1/+1
No functional changes; just style.
2014-02-07Removed prelude::* from libstd files.chromatic-1/+1
This replaces the imports from the prelude with the re-exported symbols.
2014-01-29Remove seldom-used std::reference functions.xales-25/+0
2014-01-29Rename std::borrow to std::reference.xales-0/+86
Fixes #11814