mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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:
parent
00fccd3ecc
commit
a919ba2159
1 changed files with 1 additions and 1 deletions
|
@ -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>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue