Skip to content

Conversation

@dannywillems
Copy link
Member

@dannywillems dannywillems commented Dec 2, 2025

Generated by Claude

@dannywillems dannywillems self-assigned this Dec 2, 2025
@dannywillems dannywillems moved this to Done in Rust node Dec 2, 2025
@dannywillems dannywillems requested a review from iostat December 2, 2025 15:06
@dannywillems dannywillems moved this from Done to Todo in Rust node Dec 2, 2025
@dannywillems dannywillems removed the request for review from iostat December 2, 2025 15:11
@dannywillems dannywillems marked this pull request as draft December 2, 2025 15:11
/// This function is bound to be stable soon. See <https://github.com/rust-lang/rust/issues/88581>
pub fn div_ceil(a: usize, b: usize) -> usize {
(a + b - 1) / b
a.div_ceil(b)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just eliminate this function entirely? It doesn't seem to be used within proof-systems. My guess would be some downstream crates might depend on this as an import, but if they're forced to use 1.91 anyway they might as well use the stdlib div_ceil too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants