From 7d303661cdfbf96768b341f500acde83dc052342 Mon Sep 17 00:00:00 2001 From: Thom Chiovoloni Date: Thu, 31 Dec 2020 19:50:24 -0800 Subject: [PATCH] Fix doc link for slice::binary_search --- library/core/src/result.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/result.rs b/library/core/src/result.rs index 32074c41b8b..bbbf1b412a3 100644 --- a/library/core/src/result.rs +++ b/library/core/src/result.rs @@ -1289,7 +1289,7 @@ impl Result { /// cases where you don't care if the result was `Ok` or not. /// /// [`Atomic*::compare_exchange`]: crate::sync::atomic::AtomicBool::compare_exchange - /// [binary_search]: ../primitive.slice.html#method.binary_search + /// [binary_search]: ../../std/primitive.slice.html#method.binary_search /// /// # Examples ///