Messages in this thread |  | | Date | Fri, 5 Sep 2025 10:21:50 -0700 | | From | Boqun Feng <> | | Subject | Re: [PATCH] rust: pin-init: add references to previously initialized fields |
| |
On Fri, Sep 05, 2025 at 04:00:46PM +0200, Benno Lossin wrote: > After initializing a field in an initializer macro, create a variable > holding a reference that points at that field. The type is either > `Pin<&mut T>` or `&mut T` depending on the field's structural pinning > kind. >
It's hard to review because of lack of examples. Could you or Danilo share some sample usages? Thanks!
Regards, Boqun
> Link: https://github.com/Rust-for-Linux/pin-init/pull/83/commits/0f658594c39398f58cd5cb99a8141e370e225e74 > Signed-off-by: Benno Lossin <lossin@kernel.org> > --- [...]
|  |