[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fd150149-e7d3-4b09-b6e2-a633edda5791@gmail.com>
Date: Sat, 26 Apr 2025 12:48:26 +0200
From: Christian Schrefl <chrisi.schrefl@...il.com>
To: Benno Lossin <benno.lossin@...ton.me>, Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>, Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>, Björn Roy Baron
<bjorn3_gh@...tonmail.com>, Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>, Fiona Behrens <me@...enk.dev>
Cc: rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] rust: pin-init: fix typos
On 26.04.25 10:39 AM, Benno Lossin wrote:
> Correct two typos in the `Wrapper::pin_init` documentation.
>
> Link: https://github.com/Rust-for-Linux/pin-init/pull/48/commits/fd0bf5e244b685188dc642fc4a0bd3f042468fdb
> Signed-off-by: Benno Lossin <benno.lossin@...ton.me>
> ---
> Second round of pin-init syncs for v6.16. Depends on
>
> https://lore.kernel.org/all/20250421221728.528089-1-benno.lossin@proton.me
> ---
> rust/pin-init/src/lib.rs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 @@ unsafe impl<$first: Zeroable, $($t: Zeroable),*> Zeroable for ($first, $($t),*)
> /// });
> /// ```
> 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>;
> }
>
>
> base-commit: 39051adb070432b283e6c11b2b24937281b9f97f
Reviewed-by: Christian Schrefl <chrisi.schrefl@...il.com>
Powered by blists - more mailing lists