Re: [PATCH 1/3] rust: add `num` module with `PowerOfTwo` type
From: Miguel Ojeda
Date: Fri Jun 20 2025 - 13:06:37 EST
On Fri, Jun 20, 2025 at 3:59 PM Alexandre Courbot <acourbot@xxxxxxxxxx> wrote:
>
> This reminds me that I should also check whether upstream Rust would be
> interested in `prev_multiple_of` and `last_set_bit`. The docs I've read
> for contributing looked a bit intimidating, with RFCs to write and all.
> Would you have a pointer for where I should start? Maybe a Zulip thread?
I would say it is actually quite straightforward compared to, say, WG14/21.
The first thing I added was a method too, to see how things worked,
and I started just by sending the PR.
So I would say, go for it! :)
Cheers,
Miguel