From 31dfebdf5b6e6749108b229e7d506c5da6ba2153 Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 28 Jun 2024 02:12:54 +1000 Subject: [PATCH] Fix doc link typo in hint.rs (#360) --- src/hint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hint.rs b/src/hint.rs index bb1c8400..0ea74559 100644 --- a/src/hint.rs +++ b/src/hint.rs @@ -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() -> ! {