mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
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:
parent
5423ef9d4d
commit
2a02b4f96f
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user