about summary refs log tree commit diff
path: root/library/core/src/num/nonzero.rs
AgeCommit message (Expand)AuthorLines
2025-07-21Constify Try, From, TryFromEvgenii Zheltonozhskii-1/+2
2025-07-17Make `NonZero` `const PartialEq`Oli Scherer-2/+3
2025-07-07doc(std): clarify `NonZero<T>` usage limitation in doc commentxizheyin-0/+9
2025-06-07Make NonZero<char> possibleMarijn Schouten-0/+1
2025-06-06remove extraneous textTshepang Mbambo-33/+0
2025-05-21Add some track_caller info to precondition panicsBen Kimock-0/+2
2025-04-24Mention average in midpoint documentationsUrgau-1/+3
2025-04-09replace version placeholderBoxy-4/+4
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-0/+4
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-4/+1
2025-03-06Add UseCloned trait related codeSantiago Pastorino-0/+4
2025-02-23Auto merge of #137237 - cuviper:stage0, r=Mark-Simulacrumbors-2/+2
2025-02-22Rollup merge of #136910 - okaneco:sig_ones, r=thomccMatthias Krüger-0/+64
2025-02-20Implement feature `isolate_most_least_significant_one` for integer typesokaneco-0/+64
2025-02-18update version placeholdersJosh Stone-2/+2
2025-02-15Stabilize (and const-stabilize) `integer_sign_cast`Pavel Grigorenko-4/+4
2025-02-06stabilize `NonZero::count_ones`Waffle Lapkin-3/+2
2025-02-03Add `cast_signed` and `cast_unsigned` methods for `NonZero` typesJosh Triplett-0/+47
2025-02-03For NonZero impl macros, give unsigned impls access to the corresponding sign...Josh Triplett-2/+17
2025-01-26Rollup merge of #136019 - scottmcm:alias-unchecked-div, r=Mark-SimulacrumJacob Pratt-0/+7
2025-01-24Add an `unchecked_div` alias to the `Div<NonZero<_>>` implsScott McMurray-0/+7
2025-01-24Update library/core/src/num/nonzero.rs Carl Sverre-1/+1
2025-01-23Add memory layout documentation to generic NonZero<T>Carl Sverre-0/+20
2025-01-09Update a bunch of library types for MCP807Scott McMurray-30/+1
2025-01-08update version placeholdersPietro Albini-2/+2
2024-12-04Rollup merge of #133651 - scottmcm:nonnull-nonzero-no-field-projection, r=oli...Matthias Krüger-6/+28
2024-12-03Update `NonZero` and `NonNull` to not field-project (per MCP807)Scott McMurray-6/+28
2024-12-02Auto merge of #133728 - jhpratt:rollup-k1i60pg, r=jhprattbors-1/+0
2024-12-01Rollup merge of #131784 - Urgau:stabilize-midpoint, r=dtolnayJacob Pratt-3/+2
2024-12-01Stabilize unsigned `num_midpoint` featureUrgau-3/+2
2024-11-30get rid of a bunch of unnecessary rustc_const_unstableRalf Jung-1/+0
2024-11-27replace placeholder versionBoxy-4/+4
2024-11-12Add tracking issue number to unsigned_nonzero_div_ceil featureAsger Hautop Drewsen-1/+1
2024-11-05Implement div_ceil for NonZero<unsigned>Asger Hautop Drewsen-0/+29
2024-11-03Rollup merge of #132563 - frectonz:master, r=AmanieuJubilee-1/+9
2024-11-03Modify `NonZero` documentation to reference the underlying integer typefrectonz-1/+9
2024-11-03Rollup merge of #131377 - rick-de-water:nonzero-exp, r=dtolnayMatthias Krüger-16/+30
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-1/+0
2024-11-01remove some unnecessary rustc_allow_const_fn_unstableRalf Jung-1/+0
2024-10-28Rollup merge of #131391 - ChaiTRex:isqrt, r=scottmcm,tgross35Matthias Krüger-3/+2
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-8/+8
2024-10-08Stabilize `isqrt` featureChai T. Rex-3/+2
2024-10-08Add LowerExp and UpperExp implementationsrickdewater-16/+30
2024-08-31Improve documentation for <integer>::from_str_radixKappa322-10/+0
2024-08-28Speed up `checked_isqrt` and `isqrt` methodsChai T. Rex-25/+8
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+2
2024-07-27bitwise and bytewise methods on `NonZero`Peter Jaszkowiak-3/+430
2024-07-19improve safety commentivan-shrimp-1/+1
2024-07-19add `NonZero<uN>::isqrt`ivan-shrimp-6/+54
2024-06-21Remove `feature(effects)` from the standard libraryDeadbeef-4/+2