Re: [PATCH] rust: io: rename `io::Io` accessors

From: Miguel Ojeda
Date: Mon Feb 17 2025 - 17:00:25 EST


On Mon, Feb 17, 2025 at 10:37 PM Daniel Almeida
<daniel.almeida@xxxxxxxxxxxxx> wrote:
>
> IMHO, the `writel` and `readl` nomenclature is extremely widespread, so it’s a bit confusing to see this renamed.

We could generate `#[doc(alias = "...")]`s if that helps -- it would
appear if you type `writel` in the search, for instance.

(I guess the rename could be justified (just a bit) by the fact that
in Rust we are using fixed-width integers and so on more...)

Cheers,
Miguel