rust/src/libstd
Aaron Turon 004db80afe libcore: DST-ify AsSlice
This commit changes `AsSlice` to work on unsized types, and changes the
`impl` for `&[T]` to `[T]`. Aside from making the trait more general,
this also helps some ongoing work with method resolution changes.

This is a breaking change: code that uses generics bounded by `AsSlice`
will have to change. In particular, such code previously often took
arguments of type `V` where `V: AsSlice<T>` by value. These should now
be taken by reference:

```rust
fn foo<Sized? V: AsSlice<T>>(v: &V) { .. }
```

A few std lib functions have been changed accordingly.

[breaking-change]
2014-11-20 00:05:00 -08:00
..
collections rollup merge of #19038: jayelm/fixed-typos 2014-11-18 00:24:08 +01:00
io std: Stabilize std::fmt 2014-11-18 21:16:22 -08:00
num libs: stabilize most numerics after RFC changes 2014-11-18 20:07:58 -08:00
path libcore: DST-ify AsSlice 2014-11-20 00:05:00 -08:00
rand iOS: fixed broken build after disallowed coercions 2014-11-19 09:43:15 +02:00
rt auto merge of #18645 : nick29581/rust/coercions-1, r=alexcrichton 2014-11-18 10:46:41 +00:00
sync Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
sys Windows and OS X fallout 2014-11-18 20:43:38 +13:00
time Remove bogus Duration::span test 2014-11-17 11:26:48 -08:00
ascii.rs Move IntoString to collections::string 2014-11-16 12:41:55 +11:00
bitflags.rs
c_vec.rs
dynamic_lib.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
error.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
failure.rs
fmt.rs std: Stabilize std::fmt 2014-11-18 21:16:22 -08:00
hash.rs
lib.rs libcore: add borrow module 2014-11-17 11:26:30 -08:00
macros.rs std: Stabilize std::fmt 2014-11-18 21:16:22 -08:00
os.rs rollup merge of #18944: liigo/improve-os-args-doc 2014-11-19 22:37:15 +01:00
prelude.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
rtdeps.rs
task.rs Move ToString to collections::string 2014-11-16 12:41:55 +11:00