We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00d4dbc commit 891890bCopy full SHA for 891890b
rust/kernel/sync/arc.rs
@@ -172,7 +172,7 @@ impl<T: ?Sized> Ref<T> {
172
/// # Safety
173
///
174
/// `ptr` must have been returned by a previous call to [`Ref::into_raw`]. Additionally, it
175
- /// 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`].
176
pub unsafe fn from_raw(ptr: *const T) -> Self {
177
// SAFETY: The safety requirement ensures that the pointer is valid.
178
let align = core::mem::align_of_val(unsafe { &*ptr });
0 commit comments