Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
205: Add leading_ones and trailing_ones to PrimInt r=cuviper a=clarfonthey Since this was only stabilised in 1.46.0, it falls back to a naïve version on older versions. It seems unlikely that the version in libstd will ever be different from calling the zeros versions on !self, but for future-proofing, this defers to the libstd versions anyway. Co-authored-by: ltdk <[email protected]>
- Loading branch information