rust/src
Aaron Turon a99e698628 Stabilize std::borrow
This commit stabilizes `std::borrow`, making the following modifications
to catch up the API with language changes:

* It renames `BorrowFrom` to `Borrow`, as was originally intended (but
  blocked for technical reasons), and reorders the parameters
  accordingly.

* It moves the type parameter of `ToOwned` to an associated type. This
  is somewhat less flexible, in that each borrowed type must have a
  unique owned type, but leads to a significant simplification for
  `Cow`. Flexibility can be regained by using newtyped slices, which is
  advisable for other reasons anyway.

* It removes the owned type parameter from `Cow`, making the type much
  less verbose.

* Deprecates the `is_owned` and `is_borrowed` predicates in favor of
  direct matching.

The above API changes are relatively minor; the basic functionality
remains the same, and essentially the whole module is now marked
`#[stable]`.

[breaking-change]
2015-02-18 15:23:58 -08:00
..
compiler-rt@58ab642c30
compiletest Manual merge of #22475 - alexcrichton:rollup, r=alexcrichton 2015-02-18 23:50:21 +11:00
doc Test fixes and rebase conflicts 2015-02-17 19:42:28 -08:00
driver
etc
grammar
jemalloc@b001609960
liballoc Stabilize std::borrow 2015-02-18 15:23:58 -08:00
libarena
libbacktrace
libcollections Stabilize std::borrow 2015-02-18 15:23:58 -08:00
libcore Stabilize std::borrow 2015-02-18 15:23:58 -08:00
libcoretest
libflate
libfmt_macros
libgetopts Test fixes and rebase conflicts 2015-02-17 17:27:46 -08:00
libgraphviz Stabilize std::borrow 2015-02-18 15:23:58 -08:00
liblibc Manual merge of #22475 - alexcrichton:rollup, r=alexcrichton 2015-02-18 23:50:21 +11:00
liblog
librand Register new snapshots 2015-02-17 22:04:31 -08:00
librbml
librustc Stabilize std::borrow 2015-02-18 15:23:58 -08:00
librustc_back Manual merge of #22475 - alexcrichton:rollup, r=alexcrichton 2015-02-18 23:50:21 +11:00
librustc_bitflags
librustc_borrowck Extend the implicator so it produces general obligations and also so 2015-02-18 15:23:34 -05:00
librustc_driver Test fixes and rebase conflicts 2015-02-17 19:42:28 -08:00
librustc_llvm
librustc_privacy
librustc_resolve
librustc_trans Move tcx from Typer into ClosureTyper 2015-02-18 15:23:34 -05:00
librustc_typeck Extend the implicator so it produces general obligations and also so 2015-02-18 15:23:34 -05:00
librustdoc Test fixes and rebase conflicts 2015-02-17 17:27:46 -08:00
libserialize
libstd Stabilize std::borrow 2015-02-18 15:23:58 -08:00
libsyntax Stabilize std::borrow 2015-02-18 15:23:58 -08:00
libterm rollup merge of #22319: huonw/send-is-not-static 2015-02-17 17:32:16 -08:00
libtest rollup merge of #22319: huonw/send-is-not-static 2015-02-17 17:32:16 -08:00
libunicode Register new snapshots 2015-02-17 22:04:31 -08:00
llvm@2089cab13e
rt
rust-installer@60fd8abfca
rustbook
rustllvm
test Stabilize std::borrow 2015-02-18 15:23:58 -08:00
snapshots.txt Register new snapshots 2015-02-17 22:04:31 -08:00