Skip to content

Commit a919ba2

Browse files
committed
rust: pin-init: fix typos
Correct two typos in the `Wrapper::pin_init` documentation. Link: Rust-for-Linux/pin-init@fd0bf5e Reviewed-by: Christian Schrefl <[email protected]> Signed-off-by: Benno Lossin <[email protected]>
1 parent 00fccd3 commit a919ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/pin-init/src/lib.rs

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

0 commit comments

Comments
 (0)