about summary refs log tree commit diff
path: root/src/libcore/default.rs
AgeCommit message (Collapse)AuthorLines
2014-09-24Beef up Default documentationSteve Klabnik-3/+108
2014-07-20auto merge of #15806 : treeman/rust/std-doc, r=alexcrichtonbors-0/+10
Used `HashMap` and `HashSet` as the base of most examples. Could change it up with different containers, but I don't think it's a big deal.
2014-07-19Document some trait methods.Jonas Hietala-0/+10
2014-07-18std: Stabilize defaultBrian Anderson-0/+2
All stable.
2014-06-11rustc: Update how Gc<T> is recognizedAlex Crichton-4/+0
This commit uses the same trick as ~/Box to map Gc<T> to @T internally inside the compiler. This moves a number of implementations of traits to the `gc` module in the standard library. This removes functions such as `Gc::new`, `Gc::borrow`, and `Gc::ptr_eq` in favor of the more modern equivalents, `box(GC)`, `Deref`, and pointer equality. The Gc pointer itself should be much more useful now, and subsequent commits will move the compiler away from @T towards Gc<T> [breaking-change]
2014-05-28Move trait impls for primitives near trait definitionPiotr Jawniak-4/+27
Closes #12925
2014-05-15core: Remove the unit moduleBrian Anderson-0/+5
2014-05-13std: Move the owned module from core to stdAlex Crichton-6/+0
The compiler was updated to recognize that implementations for ty_uniq(..) are allowed if the Box lang item is located in the current crate. This enforces the idea that libcore cannot allocated, and moves all related trait implementations from libcore to libstd. This is a breaking change in that the AnyOwnExt trait has moved from the any module to the owned module. Any previous users of std::any::AnyOwnExt should now use std::owned::AnyOwnExt instead. This was done because the trait is intended for Box traits and only Box traits. [breaking-change]
2014-05-07core: Inherit the default moduleAlex Crichton-0/+27