diff options
author | Benno Lossin <benno.lossin@proton.me> | 2025-04-26 08:39:22 +0000 |
---|---|---|
committer | Benno Lossin <benno.lossin@proton.me> | 2025-05-01 18:15:37 +0200 |
commit | a919ba21594bfa1e67639785d409e1bdce332097 (patch) | |
tree | 1e8dc4535daa744a7479d62d82c14e2ef0a0c341 | |
parent | 00fccd3ecc2129ee32fd181079eb643f497044c4 (diff) |
rust: pin-init: fix typos
Correct two typos in the `Wrapper::pin_init` documentation.
Link: https://github.com/Rust-for-Linux/pin-init/pull/48/commits/fd0bf5e244b685188dc642fc4a0bd3f042468fdb
Reviewed-by: Christian Schrefl <chrisi.schrefl@gmail.com>
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
-rw-r--r-- | rust/pin-init/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/pin-init/src/lib.rs b/rust/pin-init/src/lib.rs index 05a0cd6ad8f4..b5a295effd9c 100644 --- a/rust/pin-init/src/lib.rs +++ b/rust/pin-init/src/lib.rs @@ -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>; } |