diff --git a/rust/kernel/traits.rs b/rust/kernel/traits.rs index 79e121027b3046..39a43169bf70e6 100644 --- a/rust/kernel/traits.rs +++ b/rust/kernel/traits.rs @@ -8,7 +8,7 @@ use alloc::{alloc::AllocError, sync::Arc}; /// Trait which provides a fallible version of `pin()` for pointer types. /// -/// Common pointer types which implement a `pin()` method include [`Box`], [`Arc`] and [`Rc`]. +/// Common pointer types which implement a `pin()` method include [`Box`](alloc::boxed::Box) and [`Arc`]. pub trait TryPin { /// Constructs a new `Pin>`. If `T` does not implement [`Unpin`], then data /// will be pinned in memory and unable to be moved. An error will be returned