HeroesGrave
5bf8d3289f
move enum_set to libcollections. #8784
2014-02-20 19:38:01 +13:00
Brendan Zabarauskas
79f52cf9ba
Rename Bitwise::population_count to Bitwise::count_ones and add Bitwise::count_zeros
...
These are inspired by the [functions in the Julia standard library](http://docs.julialang.org/en/release-0.2/stdlib/base/#Base.count_ones ).
2014-02-17 13:55:06 +11:00
Huon Wilson
39713b8295
Remove unnecessary parentheses.
2014-01-21 22:00:18 +11:00
Palmer Cox
3fd8c8b330
Rename iterators for consistency
...
Rename existing iterators to get rid of the Iterator suffix and to
give them names that better describe the things being iterated over.
2014-01-18 01:15:15 -05:00
Brendan Zabarauskas
1dd6906db2
Merge Bitwise and BitCount traits and remove from prelude, along with Bounded
...
One less trait in std::num, and three less exported in the prelude.
2014-01-16 11:51:33 +11:00
Luqman Aden
1265a03139
librustc: Implement coercion for traits.
2013-12-27 03:26:46 -05:00
Jed Davis
727731f89e
Assorted cleanups suggested by reviewers.
2013-10-29 09:09:20 -07:00
Jed Davis
c8c08763ec
Add repr attributes in various places that need them.
2013-10-29 09:09:20 -07:00
Alex Crichton
a84c2999c9
Require module documentation with missing_doc
...
Closes #9824
2013-10-15 22:27:10 -07:00
Daniel Micay
6919cf5fe1
rename std::iterator to std::iter
...
The trait will keep the `Iterator` naming, but a more concise module
name makes using the free functions less verbose. The module will define
iterables in addition to iterators, as it deals with iteration in
general.
2013-09-09 03:21:46 -04:00
Huon Wilson
abe94f9b4d
doc: correct spelling in documentation.
2013-08-16 15:41:28 +10:00
Alex Crichton
930885d5e5
Forbid pub/priv where it has no effect
...
Closes #5495
2013-08-12 23:20:46 -07:00
Sangeun Kim
a76943be47
Move EnumSet into libextra
2013-08-06 14:45:02 +09:00