rust: pin-init: docs: fix typos in MaybeZeroable documentation

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>
This commit is contained in:
Xiaobo Liu
2026-05-27 18:19:55 +01:00
committed by Gary Guo
parent 5423ef9d4d
commit 2a02b4f96f

View File

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