about summary refs log tree commit diff
path: root/library/core/src
AgeCommit message (Expand)AuthorLines
2021-08-22Fix more “a”/“an” typosFrank Steffahn-1/+1
2021-08-22Fix typos “a”→“an”Frank Steffahn-3/+3
2021-08-22Auto merge of #88122 - Seppel3210:master, r=dtolnaybors-8/+10
2021-08-21Remove the `TryV2` aliasScott McMurray-15/+9
2021-08-20Add an example for deriving PartialOrd on enumsAriel Davis-0/+12
2021-08-19Simplify saturating_divMichael Watzko-8/+3
2021-08-19Simplify Div impl for Saturating by using saturating_divMichael Watzko-37/+31
2021-08-19Add saturating_div to unsigned integer typesMichael Watzko-0/+30
2021-08-19Add doctests to and fix saturating_div for signed integer typesMichael Watzko-9/+22
2021-08-19Add and use saturating_div instead of impl inside SaturatingMichael Watzko-10/+27
2021-08-19Saturate negative divisionMichael Watzko-13/+46
2021-08-18Rollup merge of #88031 - ibraheemdev:build-hasher-object-safe, r=m-ou-seGuillaume Gomez-1/+4
2021-08-17Fix example in `Extend<(A, B)>` implSebastian Widua-8/+10
2021-08-17Constified `Default` implementationsDeadbeef-12/+25
2021-08-16Get piece unchecked in writeCameron Steffen-3/+8
2021-08-16Make Arguments constructors unsafeCameron Steffen-1/+42
2021-08-16Auto merge of #84039 - jyn514:uplift-atomic-ordering, r=wesleywiserbors-0/+4
2021-08-16Uplift the `invalid_atomic_ordering` lint from clippy to rustcThom Chiovoloni-0/+4
2021-08-15Allow the use of the deprecated llvm_asm! in black_boxAmanieu d'Antras-0/+1
2021-08-15Deprecate llvm_asm!Amanieu d'Antras-0/+4
2021-08-15Auto merge of #87974 - steffahn:slice_split_size_hints, r=dtolnaybors-8/+25
2021-08-14make `BuildHasher` object safeibraheemdev-1/+4
2021-08-12Auto merge of #87916 - nbdd0121:black_box, r=nagisabors-12/+14
2021-08-12Test and fix size_hint for slice's [r]split* iteratorsFrank Steffahn-8/+25
2021-08-12Implement `black_box` using intrinsicGary Guo-12/+14
2021-08-12Implement Neg only for signed Saturating typesMichael Watzko-11/+11
2021-08-12Add naive remainder impl to SaturatingMichael Watzko-1/+22
2021-08-12Add naive shift implementation to SaturatingMichael Watzko-1/+158
2021-08-12Replace doc test with doc macro callMichael Watzko-1/+1
2021-08-12Like in Wrapping use shift in doctestMichael Watzko-2/+2
2021-08-12Remove mentioning of modular arithmeticMichael Watzko-3/+2
2021-08-12Make all the impls for Staturating unstable saturating_int_implMichael Watzko-33/+33
2021-08-12Rollup merge of #85835 - Seppel3210:master, r=yaahcYuki Okushi-22/+69
2021-08-11Auto merge of #87892 - rust-lang:spec-fill-size-one-bye, r=the8472bors-14/+2
2021-08-11Rollup merge of #87636 - Kixiron:unzip-option, r=scottmcmYuki Okushi-0/+27
2021-08-11Rollup merge of #86840 - usbalbin:const_from, r=oli-obkYuki Okushi-5/+11
2021-08-10Fix missed testsMichael Watzko-10/+7
2021-08-10RustfmtMichael Watzko-1/+0
2021-08-10Remove unused macrosMichael Watzko-33/+0
2021-08-10Add Saturating type (based on Wrapping type)Michael Watzko-0/+818
2021-08-09Reword description of automatic impls of `Unsize`.Kevin Reid-11/+9
2021-08-09Remove size_of == 1 case from `fill` specialization.Mara Bos-14/+2
2021-08-09Added tracking issue to unstable attributeChase Wilson-1/+1
2021-08-09Enabled unzip_option feature for core tests & unzip docsChase Wilson-0/+2
2021-08-09Added the `Option::unzip()` methodChase Wilson-0/+25
2021-08-08Make `<[T]>::split_at_unchecked` and `<[T]>::split_at_mut_unchecked` publicWaffle-4/+4
2021-08-08Auto merge of #87827 - eddyb:wrapperless-mem-replace, r=m-ou-sebors-0/+7
2021-08-08Avoid using the `copy_nonoverlapping` wrapper through `mem::replace`.Eduard-Mihai Burtescu-0/+7
2021-08-07impl const From<num> for numAlbin Hedman-5/+11
2021-08-07Fix intra doc link in hidden doc of Iterator::__iterator_get_uncheckedFrank Steffahn-1/+1