Skip to content

Commit 440c625

Browse files
committed
docs: Fix typo in doc link
There was an extra backtick. Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
1 parent 6387ac8 commit 440c625

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/sync/arc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ impl<T> Ref<T> {
127127
/// # Safety
128128
///
129129
/// `encoded` must have been returned by a previous call to [`Ref::into_usize`]. Additionally,
130-
/// it can only be called once for each previous call to [``Ref::into_usize`].
130+
/// it can only be called once for each previous call to [`Ref::into_usize`].
131131
pub unsafe fn from_usize(encoded: usize) -> Self {
132132
// SAFETY: By the safety invariants we know that `encoded` came from `Ref::into_usize`, so
133133
// the reference count held then will be owned by the new `Ref` object.

0 commit comments

Comments
 (0)