rust/library/core
David Tolnay 56df3bb70d
Move nonzero_integers macro call to bottom of module
This way all the other macros defined in this module, such as
nonzero_leading_trailing_zeros, are available to call within the expansion of
nonzero_integers.

(Macros defined by macro_rules cannot be called from the same module above the
location of the macro_rules.)

In this commit the ability to call things like nonzero_leading_trailing_zeros is
not immediately used, but later commits in this stack will be consolidating the
entire API of NonZeroT to be generated through nonzero_integers, and will need
to make use of some of the other macros to do that.
2024-01-14 12:40:18 -08:00
..
benches Reduced amount of int_pow benches 2024-01-11 14:00:01 -05:00
src Move nonzero_integers macro call to bottom of module 2024-01-14 12:40:18 -08:00
tests apply fmt 2024-01-11 15:04:48 +03:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00