From 891890bbeb6ea83f3d824a624e08ad56bf9134f0 Mon Sep 17 00:00:00 2001 From: Hsiang-Cheng Yang Date: Thu, 30 Dec 2021 08:37:26 +0800 Subject: [PATCH] Update arc.rs docs: Fix a typo in intra-doc link --- rust/kernel/sync/arc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/kernel/sync/arc.rs b/rust/kernel/sync/arc.rs index df5a2606ab2ffa..cd98806b84ed4e 100644 --- a/rust/kernel/sync/arc.rs +++ b/rust/kernel/sync/arc.rs @@ -172,7 +172,7 @@ impl Ref { /// # Safety /// /// `ptr` must have been returned by a previous call to [`Ref::into_raw`]. Additionally, it - /// can only be called once for each previous call to [``Ref::into_raw`]. + /// can only be called once for each previous call to [`Ref::into_raw`]. pub unsafe fn from_raw(ptr: *const T) -> Self { // SAFETY: The safety requirement ensures that the pointer is valid. let align = core::mem::align_of_val(unsafe { &*ptr });