Unify feature flags as step_trait
While stdlib implementations of the unchecked methods require unchecked math, there is no reason to gate it behind this for external users. The reasoning for a separate `step_trait_ext` feature is unclear, and as such has been merged as well.
This commit is contained in:
parent
bc2f0fb5a9
commit
35ce36812a
4 changed files with 1 additions and 9 deletions
|
@ -65,7 +65,7 @@ impl Idx for u32 {
|
|||
/// `u32::MAX`. You can also customize things like the `Debug` impl,
|
||||
/// what traits are derived, and so forth via the macro.
|
||||
#[macro_export]
|
||||
#[allow_internal_unstable(step_trait, step_trait_ext, rustc_attrs)]
|
||||
#[allow_internal_unstable(step_trait, rustc_attrs)]
|
||||
macro_rules! newtype_index {
|
||||
// ---- public rules ----
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue