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.
2 parents 00d4dbc + 891890b commit 8ca7a7fCopy full SHA for 8ca7a7f
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