Erick Tryzelaar
f107718a9b
std: Remove Zero impl for Option
...
Options are not numeric types, so it doesn't make sense for them to
implement Zero.
2013-09-12 18:54:13 -07:00
Erick Tryzelaar
43aba856b4
std: Remove Zero impl from vec
...
Vecs are not numeric types, so it doesn't make sense for them to
implement Zero.
2013-09-12 18:54:13 -07:00
Patrick Walton
8693943676
librustc: Ensure that type parameters are in the right positions in paths.
...
This removes the stacking of type parameters that occurs when invoking
trait methods, and fixes all places in the standard library that were
relying on it. It is somewhat awkward in places; I think we'll probably
want something like the `Foo::<for T>::new()` syntax.
2013-08-27 18:47:57 -07:00
Corey Richardson
6eb924d28e
Fix deriving-zero test
2013-08-26 19:47:58 -04:00
Stepan Koltsov
a5912736be
Implement Zero for unit
2013-07-31 18:19:26 +04:00
Birunthan Mohanathas
f73bb2bfe6
Implement std::num::Zero for bool
...
Closes #8024 .
2013-07-24 22:54:32 +03:00
Alex Crichton
07f5ab1009
Implement a deriving(Zero) attribute
2013-06-14 19:12:37 -07:00