about summary refs log tree commit diff
path: root/src/libcore
AgeCommit message (Expand)AuthorLines
2020-02-10Rollup merge of #68986 - ecstatic-morse:const-ascii-ctype, r=CentrilDylan DPC-20/+41
2020-02-10Auto merge of #68835 - CAD97:sound-range-inclusive, r=Mark-Simulacrumbors-53/+26
2020-02-10Fuse FlattenCompat's inner iteratorTim Vermeulen-4/+7
2020-02-10Fix Peekable::next_backTim Vermeulen-1/+5
2020-02-10Rollup merge of #68976 - ecstatic-morse:const-non-zero, r=dtolnayDylan DPC-1/+2
2020-02-09Don't return empty slice on last iteration with matched terminator. Test reve...Pyry Kontio-123/+161
2020-02-09Implement split_inclusive for slice and str, an splitting iterator that inclu...Pyry Kontio-1/+383
2020-02-08Make `u8::is_ascii` a stable `const fn`Dylan MacKenzie-1/+2
2020-02-08Make the ASCII ctype inherent methods constDylan MacKenzie-20/+41
2020-02-08Make integer power methods constDylan MacKenzie-14/+31
2020-02-08Use bespoke macro instead of `?` inside const fnsDylan MacKenzie-6/+16
2020-02-08[!] Use `rustc_inherit_overflow_checks` in `next_power_of_two`Dylan MacKenzie-3/+2
2020-02-08Make `num::NonZeroX::new` an unstable `const fn`Dylan MacKenzie-1/+2
2020-02-09Rollup merge of #68946 - mjbshaw:must_use, r=mjbshawDylan DPC-0/+13
2020-02-09Rollup merge of #68918 - brson:unwrapdoc, r=Dylan-DPCDylan DPC-63/+75
2020-02-08Remove problematic specialization from RangeInclusiveCAD97-53/+26
2020-02-08Mark several functions and methods in core::cmp as #[must_use]Michael Bradshaw-0/+13
2020-02-08Auto merge of #68358 - matthewjasper:spec-fix, r=nikomatsakisbors-57/+91
2020-02-07Don't use the word 'unwrap' to describe core unwrapping functionsBrian Anderson-26/+38
2020-02-06Rollup merge of #68886 - tom-a-wagner:master, r=Mark-SimulacrumDylan DPC-0/+12
2020-02-06Rollup merge of #68524 - jonas-schievink:generator-resume-arguments, r=ZoxcDylan DPC-4/+31
2020-02-06Add primitive module to libcore/stdMark Rousskov-0/+70
2020-02-06Mark fn map_or() as eagerly evaluated.Tom A. Wagner-0/+12
2020-02-05Rollup merge of #68809 - ecstatic-morse:const-int-functions, r=oli-obkDylan DPC-49/+108
2020-02-05Reorder declarations of Result::expect_err/unwrap_err to match OptionBrian Anderson-22/+22
2020-02-05Reorder declarations of Result::export/unwrap to match OptionBrian Anderson-17/+17
2020-02-04Use consistent feature namingDylan MacKenzie-49/+49
2020-02-04Rollup merge of #68810 - ollie27:once_with_copy, r=Dylan-DPCDylan DPC-1/+1
2020-02-04Make saturating arithmetic using intrinsics `const`Dylan MacKenzie-2/+4
2020-02-04Make checked division `const`Dylan MacKenzie-4/+8
2020-02-04Const-stabilize some arithmetic intrinsicsDylan MacKenzie-0/+6
2020-02-04Make wrapping arithmetic `const`Dylan MacKenzie-4/+8
2020-02-04Make `saturating_mul` a `const fn`Dylan MacKenzie-6/+13
2020-02-04Make overflowing arithmetic `const`Dylan MacKenzie-4/+9
2020-02-04Make checked arithmetic besides division `const`Dylan MacKenzie-13/+27
2020-02-04Make euclidean division `const`Dylan MacKenzie-16/+33
2020-02-04Auto merge of #68708 - Mark-Simulacrum:stage0-step, r=pietroalbinibors-23/+1
2020-02-04Remove `finished` flag from `MapWhile`Waffle-47/+36
2020-02-03Remove Copy impl from OnceWithOliver Middleton-1/+1
2020-02-03Rollup merge of #68800 - JohnTitor:stabilize-once-with, r=CentrilDylan DPC-14/+8
2020-02-04Stabilize `core::iter::once_with()`Yuki Okushi-14/+8
2020-02-03Optimize core::ptr::align_offsetAmos Onn-2/+1
2020-02-03Optimize core::ptr::align_offsetAmos Onn-13/+20
2020-02-03Optimize core::ptr::align_offsetAmos Onn-2/+2
2020-02-02Rollup merge of #68733 - cata0309:patch-1, r=Dylan-DPCMazdak Farrokhzad-2/+2
2020-02-02Add a resume type parameter to `Generator`Jonas Schievink-4/+31
2020-02-01Remove `Alloc` in favor of `AllocRef`Tim Diekmann-7/+0
2020-02-01Update option.rsMarincia Catalin-2/+2
2020-02-01Remove some unsound specializationsMatthew Jasper-57/+91
2020-01-31Add methods to leak RefCell borrows to referencesAndreas Molzer-0/+63