Skip to content

Commit 8ca7a7f

Browse files
authored
Merge pull request torvalds#602 from rick68/patch-1
docs: Fix a typo in intra-doc link
2 parents 00d4dbc + 891890b commit 8ca7a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/kernel/sync/arc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl<T: ?Sized> Ref<T> {
172172
/// # Safety
173173
///
174174
/// `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`].
175+
/// can only be called once for each previous call to [`Ref::into_raw`].
176176
pub unsafe fn from_raw(ptr: *const T) -> Self {
177177
// SAFETY: The safety requirement ensures that the pointer is valid.
178178
let align = core::mem::align_of_val(unsafe { &*ptr });

0 commit comments

Comments
 (0)