We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6387ac8 + 440c625 commit 00d4dbcCopy full SHA for 00d4dbc
1 file changed
rust/kernel/sync/arc.rs
@@ -127,7 +127,7 @@ impl<T> Ref<T> {
127
/// # Safety
128
///
129
/// `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`].
+ /// it can only be called once for each previous call to [`Ref::into_usize`].
131
pub unsafe fn from_usize(encoded: usize) -> Self {
132
// SAFETY: By the safety invariants we know that `encoded` came from `Ref::into_usize`, so
133
// the reference count held then will be owned by the new `Ref` object.
0 commit comments