rust: pin-init: fix typos

Correct two typos in the `Wrapper::pin_init` documentation.

Link: fd0bf5e244
Reviewed-by: Christian Schrefl <chrisi.schrefl@gmail.com>
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
This commit is contained in:
Benno Lossin 2025-04-26 08:39:22 +00:00
parent 00fccd3ecc
commit a919ba2159

View file

@ -1580,7 +1580,7 @@ impl_tuple_zeroable!(A, B, C, D, E, F, G, H, I, J);
/// });
/// ```
pub trait Wrapper<T> {
/// Create an pin-initializer for a [`Self`] containing `T` form the `value_init` initializer.
/// Creates an pin-initializer for a [`Self`] containing `T` from the `value_init` initializer.
fn pin_init<E>(value_init: impl PinInit<T, E>) -> impl PinInit<Self, E>;
}