Re: [PATCH v2 4/5] rust: treewide: replace `__pinned_init` with `ptr_[try_]init`
From: Miguel Ojeda
Date: Mon Aug 03 2026 - 08:26:03 EST
On Wed, Jul 29, 2026 at 5:39 PM Gary Guo <gary@xxxxxxxxxxx> wrote:
>
> The `__init` method is not designed to be a public API (existence of "__"
> is a hint for this); replace users with `pin_init::ptr_[try_]init` which
> does the same thing.
>
> There are a few users of `__init` which are replaced as well.
>
> Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>
Since you asked:
Acked-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
But I obviously trust you to change this even treewide! :)
Thanks!
Cheers,
Miguel