about summary refs log tree commit diff
path: root/src/libcore/nonzero.rs
AgeCommit message (Collapse)AuthorLines
2015-12-21Register new snapshotsAlex Crichton-24/+6
Lots of cruft to remove!
2015-10-25Switch to 'const unsafe fn' ordering (rust-lang/rust#29107)John Hodge-1/+1
2015-10-16Make NonZero::new const functionVadim Petrochenkov-6/+24
2015-09-03Elide lifetimes in libcoreManish Goregaokar-1/+1
2015-08-15core: Fill out issues for unstable featuresAlex Crichton-1/+2
2015-06-17core: Split apart the global `core` featureAlex Crichton-1/+2
This commit shards the broad `core` feature of the libcore library into finer grained features. This split groups together similar APIs and enables tracking each API separately, giving a better sense of where each feature is within the stabilization process. A few minor APIs were deprecated along the way: * Iterator::reverse_in_place * marker::NoCopy
2015-05-27Remove #[cfg(stage0)] items.Eduard Burtescu-4/+1
2015-05-13Remove SNAP commentsNick Cameron-2/+2
2015-05-13eddyb's changes for DST coercionsNick Cameron-0/+5
+ lots of rebasing
2015-05-09Convert #[lang="..."] to #[lang = "..."]Nick Hamann-1/+1
In my opinion this looks nicer, but also it matches the whitespace generally used for stability markers more closely.
2015-04-28Register new snapshotsTamir Duberstein-6/+0
2015-04-21std: Remove deprecated/unstable num functionalityAlex Crichton-3/+8
This commit removes all the old casting/generic traits from `std::num` that are no longer in use by the standard library. This additionally removes the old `strconv` module which has not seen much use in quite a long time. All generic functionality has been supplanted with traits in the `num` crate and the `strconv` module is supplanted with the [rust-strconv crate][rust-strconv]. [rust-strconv]: https://github.com/lifthrasiir/rust-strconv This is a breaking change due to the removal of these deprecated crates, and the alternative crates are listed above. [breaking-change]
2015-04-13pluralize doc comment verbs and add missing periodsAndrew Paseltiner-1/+1
2015-04-02Deprecate MarkerTrait and PhantomFn.Niko Matsakis-0/+1
2015-02-18Rewrite `Unique<T>` so that it is covariant in T, implies `NonZero` and ↵Niko Matsakis-5/+4
ownership, and also follows the API of `NonZero` a bit more closely. More to do here I think (including perhaps a new name).
2015-02-16Update `core::nonzero` for `isize/usize` migration.Felix S. Klock II-2/+2
2015-01-30rollup merge of #21706: reem/missing-zeroable-impl-for-uniqueAlex Crichton-0/+2
This allows the use of `NonZero<Unique<T>>` for owned, non-null raw pointers. cc https://github.com/Gankro/collect-rs/pull/103
2015-01-29s/Show/Debug/gJorge Aparicio-1/+1
2015-01-28Merge remote-tracking branch 'origin/master' into rollupManish Goregaokar-2/+2
Conflicts: src/libcollections/slice.rs src/libcore/nonzero.rs src/libcore/ops.rs
2015-01-27Add an implementation of Zeroable for Unique<T>Jonathan Reem-0/+2
This allows the use of `NonZero<Unique<T>>` for owned, non-null raw pointers. cc https://github.com/Gankro/collect-rs/pull/103
2015-01-24Add Hash trait to NonZero typeGuillaumeGomez-2/+2
2015-01-23Set unstable feature names appropriatelyBrian Anderson-1/+1
* `core` - for the core crate * `hash` - hashing * `io` - io * `path` - path * `alloc` - alloc crate * `rand` - rand crate * `collections` - collections crate * `std_misc` - other parts of std * `test` - test crate * `rustc_private` - everything else
2015-01-21Remove 'since' from unstable attributesBrian Anderson-1/+1
2015-01-21Add 'feature' and 'since' to stability attributesBrian Anderson-1/+1
2015-01-08Improvements to feature stagingBrian Anderson-1/+1
This gets rid of the 'experimental' level, removes the non-staged_api case (i.e. stability levels for out-of-tree crates), and lets the staged_api attributes use 'unstable' and 'deprecated' lints. This makes the transition period to the full feature staging design a bit nicer.
2015-01-03sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rsJorge Aparicio-1/+1
2015-01-02core: use assoc types in `Deref[Mut]`Jorge Aparicio-1/+3
2014-12-28libcoretest: Add tests for NonZero.Luqman Aden-38/+0
2014-12-28libcore: Use Zeroable trait to try to limit what types may be used with NonZero.Luqman Aden-3/+57
2014-12-28libcore: Don't impl RawPtr* traits for NonZero.Luqman Aden-62/+1
2014-12-28Don't expose NonZero through libstd.Luqman Aden-0/+98