rust/src/libcollections
bors cfea8ec416 Auto merge of #23126 - alexcrichton:char-third-pass, r=aturon
This commit performs another pass over the `std::char` module for stabilization.
Some minor cleanup is performed such as migrating documentation from libcore to
libunicode (where the `std`-facing trait resides) as well as a slight
reorganiation in libunicode itself. Otherwise, the stability modifications made
are:

* `char::from_digit` is now stable
* `CharExt::is_digit` is now stable
* `CharExt::to_digit` is now stable
* `CharExt::to_{lower,upper}case` are now stable after being modified to return
  an iterator over characters. While the implementation today has not changed
  this should allow us to implement the full set of case conversions in unicode
  where some characters can map to multiple when doing an upper or lower case
  mapping.
* `StrExt::to_{lower,upper}case` was added as unstable for a convenience of not
  having to worry about characters expanding to more characters when you just
  want the whole string to get into upper or lower case.

This is a breaking change due to the change in the signatures of the
`CharExt::to_{upper,lower}case` methods. Code can be updated to use functions
like `flat_map` or `collect` to handle the difference.

[breaking-change]

Closes #20333
2015-03-10 22:45:10 +00:00
..
btree Fixes to collections to accommodate arith-overflow changes. 2015-03-03 12:10:20 +01:00
bench.rs
binary_heap.rs Add : Box<_> or ::Box<_> type annotations to various places. 2015-03-03 20:29:01 +01:00
bit.rs Remove integer suffixes where the types in compiled code are identical. 2015-03-05 12:38:33 +05:30
borrow.rs Change int to i32 in Cow example. 2015-02-22 20:31:12 -05:00
enum_set.rs Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00
fmt.rs doc: Fix extraneous as_slice()'s in docstrings 2015-03-09 07:54:19 -07:00
lib.rs fix for new attributes failing. issue #22964 2015-03-05 11:53:51 -05:00
linked_list.rs Add : Box<_> or ::Box<_> type annotations to various places. 2015-03-03 20:29:01 +01:00
macros.rs Use arrays instead of vectors in tests 2015-02-24 21:15:45 +03:00
slice.rs Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00
str.rs Auto merge of #23126 - alexcrichton:char-third-pass, r=aturon 2015-03-10 22:45:10 +00:00
string.rs Auto merge of #22561 - richo:as_slice-as_str, r=Manishearth 2015-03-09 21:02:50 +00:00
vec_deque.rs Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00
vec_map.rs Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00
vec.rs Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00