Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue for NonZero<u*>::div_ceil #132968

Open
2 of 4 tasks
tyilo opened this issue Nov 12, 2024 · 0 comments
Open
2 of 4 tasks

Tracking Issue for NonZero<u*>::div_ceil #132968

tyilo opened this issue Nov 12, 2024 · 0 comments
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@tyilo
Copy link
Contributor

tyilo commented Nov 12, 2024

Feature gate: #![feature(unsigned_nonzero_div_ceil)]

This is a tracking issue for implementing div_ceil for NonZero<T> where T is an unsigned integer.

Public API

// core::num

impl NonZero<u8> { // similarly for u16, u32, u64, u128 & usize
    pub const fn div_ceil(self, other: Self) -> Self;
}

Steps / History

Unresolved Questions

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

@tyilo tyilo added C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Nov 12, 2024
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Nov 12, 2024
…tgross35

Add tracking issue number to unsigned_nonzero_div_ceil feature

Tracking issue: rust-lang#132968
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Nov 13, 2024
Rollup merge of rust-lang#132970 - tyilo:nonzero-u-div-ceil-issue, r=tgross35

Add tracking issue number to unsigned_nonzero_div_ceil feature

Tracking issue: rust-lang#132968
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

1 participant