summary refs log tree commit diff
path: root/src/libcore/nonzero.rs
AgeCommit message (Expand)AuthorLines
2018-03-18num::NonZero* types now have their own tracking issue: #49137Simon Sapin-6/+1
2018-03-17Deprecate core::nonzero in favor of ptr::NonNull and num::NonZero*Simon Sapin-1/+4
2018-03-17Add 12 num::NonZero* types for each primitive integerSimon Sapin-1/+1
2017-11-29Rollup merge of #46287 - SimonSapin:stable-constness, r=aturonkennytm-1/+0
2017-11-26Stabilize const-calling existing const-fns in stdSimon Sapin-1/+0
2017-11-19Remove `T: Sized` on `ptr::is_null()`Josh Stone-2/+1
2017-10-26Bump to 1.23 and update bootstrapAlex Crichton-1/+1
2017-09-16change #![feature(const_fn)] to specific gatesAlex Burka-0/+4
2017-07-22Add conversions from references to NonZero pointers, Unique, and SharedSimon Sapin-0/+19
2017-07-22Rename {NonZero,Shared,Unique}::new_checked to newSimon Sapin-1/+1
2017-07-22Rename {NonZero,Shared,Unique}::new to new_uncheckedSimon Sapin-1/+1
2017-07-22Add `new_checked(…) -> Option<Self>` to NonZero, Unique, and Shared.Simon Sapin-17/+53
2017-07-20std: Cut down #[inline] annotations where not necessaryAlex Crichton-1/+1
2017-05-04refactor NonZero, Shared, and Unique APIsAlexis Beingessner-9/+4
2017-02-03Bump version, upgrade bootstrapAlex Crichton-2/+0
2016-12-30Such large. Very 128. Much bits.Simonas Kazlauskas-0/+4
2016-08-24Use `#[prelude_import]` in `libcore`.Jeffrey Seyfried-1/+0
2015-12-21Register new snapshotsAlex Crichton-24/+6
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
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
2015-05-09Convert #[lang="..."] to #[lang = "..."]Nick Hamann-1/+1
2015-04-28Register new snapshotsTamir Duberstein-6/+0
2015-04-21std: Remove deprecated/unstable num functionalityAlex Crichton-3/+8
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 owner...Niko Matsakis-5/+4
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
2015-01-29s/Show/Debug/gJorge Aparicio-1/+1
2015-01-28Merge remote-tracking branch 'origin/master' into rollupManish Goregaokar-2/+2
2015-01-27Add an implementation of Zeroable for Unique<T>Jonathan Reem-0/+2
2015-01-24Add Hash trait to NonZero typeGuillaumeGomez-2/+2
2015-01-23Set unstable feature names appropriatelyBrian Anderson-1/+1
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
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