rust/src/libstd/prelude
Alex Crichton 8f5b5f94dc std: Add Default/IntoIterator/ToOwned to the prelude
This is an implementation of [RFC 1030][rfc] which adds these traits to the
prelude and additionally removes all inherent `into_iter` methods on collections
in favor of the trait implementation (which is now accessible by default).

[rfc]: https://github.com/rust-lang/rfcs/pull/1030

This is technically a breaking change due to the prelude additions and removal
of inherent methods, but it is expected that essentially no code breaks in
practice.

[breaking-change]
Closes #24538
2015-04-17 16:37:30 -07:00
..
mod.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00
v1.rs std: Add Default/IntoIterator/ToOwned to the prelude 2015-04-17 16:37:30 -07:00