]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rust: pin-init: docs: fix typos in MaybeZeroable documentation
authorXiaobo Liu <cppcoffee@gmail.com>
Wed, 27 May 2026 17:19:55 +0000 (18:19 +0100)
committerGary Guo <gary@garyguo.net>
Fri, 29 May 2026 20:34:53 +0000 (21:34 +0100)
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Link: https://patch.msgid.link/20260527-pin-init-sync-v1-4-e20335ed2501@garyguo.net
Signed-off-by: Gary Guo <gary@garyguo.net>
rust/pin-init/src/lib.rs

index c9e2cbe279157dbae3a5da1db2f37886c53010a5..84099474324ebd8b495eca3975518af6f0e1ff29 100644 (file)
@@ -431,7 +431,7 @@ pub use ::pin_init_internal::Zeroable;
 /// ```
 /// use pin_init::MaybeZeroable;
 ///
-/// // implmements `Zeroable`
+/// // implements `Zeroable`
 /// #[derive(MaybeZeroable)]
 /// pub struct DriverData {
 ///     pub(crate) id: i64,
@@ -439,7 +439,7 @@ pub use ::pin_init_internal::Zeroable;
 ///     len: usize,
 /// }
 ///
-/// // does not implmement `Zeroable`
+/// // does not implement `Zeroable`
 /// #[derive(MaybeZeroable)]
 /// pub struct DriverData2 {
 ///     pub(crate) id: i64,