Skip to content

Commit

Permalink
Fix doc link typo in hint.rs (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored Jun 27, 2024
1 parent 6b42bbb commit 31dfebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn spin_loop() {
/// simulated version of [`std::hint::unreachable_unchecked`], which is unsafe.
///
/// See [the documentation for
/// `std::hint::unreachable_unchecked`](`std::hint::unreachable_unchecked#Safety)
/// `std::hint::unreachable_unchecked`](std::hint::unreachable_unchecked#Safety)
/// for safety details.
#[track_caller]
pub unsafe fn unreachable_unchecked() -> ! {
Expand Down

0 comments on commit 31dfebd

Please sign in to comment.