diff --git a/rust/kernel/block/mq/request.rs b/rust/kernel/block/mq/request.rs index a0e22827f3f4ec..3ab2917c9d2594 100644 --- a/rust/kernel/block/mq/request.rs +++ b/rust/kernel/block/mq/request.rs @@ -22,15 +22,14 @@ use core::{ /// /// There are four states for a request that the Rust bindings care about: /// -/// A) Request is owned by block layer (refcount 0) +/// A) Request is owned by block layer (refcount 0)\ /// B) Request is owned by driver but with zero `ARef`s in existence -/// (refcount 1) +/// (refcount 1)\ /// C) Request is owned by driver with exactly one `ARef` in existence -/// (refcount 2) +/// (refcount 2)\ /// D) Request is owned by driver with more than one `ARef` in existence /// (refcount > 2) /// -/// /// We need to track A and B to ensure we fail tag to request conversions for /// requests that are not owned by the driver. /// diff --git a/rust/kernel/rbtree.rs b/rust/kernel/rbtree.rs index 25eb36fd1cdceb..006f6e03aba57b 100644 --- a/rust/kernel/rbtree.rs +++ b/rust/kernel/rbtree.rs @@ -1031,7 +1031,6 @@ impl Iterator for IterRaw { /// A memory reservation for a red-black tree node. /// -/// /// It contains the memory needed to hold a node that can be inserted into a red-black tree. One /// can be obtained by directly allocating it ([`RBTreeNodeReservation::new`]). pub struct RBTreeNodeReservation {