summary refs log tree commit diff
path: root/library/core/src/num/nonzero.rs
AgeCommit message (Expand)AuthorLines
2025-02-17update version placeholdersJosh Stone-2/+2
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
2024-06-13Fix wording in {checked_}next_power_of_twoChristiaan Biesterbosch-1/+1
2024-06-09fix `NonZero` doctest inconsistenciesivan-shrimp-10/+32
2024-05-08Use generic `NonZero` in examples.Markus Reiter-183/+181
2024-05-01Step bootstrap cfgsMark Rousskov-8/+2
2024-05-01Replace version placeholders for 1.79Mark Rousskov-3/+3
2024-04-23Rollup merge of #124003 - WaffleLapkin:dellvmization, r=scottmcm,RalfJung,antoyoMatthias Krüger-2/+12
2024-04-22Stabilize generic `NonZero`.Markus Reiter-5/+5
2024-04-16Change intrinsic types to use `u32` instead of `T` to match stable reexportsMaybe Waffle-2/+12
2024-03-30Make {integer}::from_str_radix constantGeorge Bateman-2/+1
2024-03-27`num::NonZero::get` can be 1 transmute instead of 3Scott McMurray-12/+14
2024-03-23move assert_unsafe_preconditions to its own fileRalf Jung-2/+3
2024-03-17chore(121952): echo comments on the `*_assign` methodsPetr Portnov-0/+3
2024-03-17chore(121952): remove redundant commentsPetr Portnov-3/+0
2024-03-17feat: implement `{Div,Rem}Assign<NonZero<X>>` on `X`Petr Portnov-1/+20
2024-03-14Hide implementation details for `NonZero` auto traits.Markus Reiter-1/+22