about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThom Chiovoloni <chiovolonit@gmail.com>2020-12-31 19:50:24 -0800
committerThom Chiovoloni <chiovolonit@gmail.com>2021-02-17 08:52:08 -0800
commit7d303661cdfbf96768b341f500acde83dc052342 (patch)
tree6bf3b26981db8f0acd9a83119c416feb34698e13
parentf688bee4ece7b16e8e77b2f4217a8345da742733 (diff)
downloadrust-7d303661cdfbf96768b341f500acde83dc052342.tar.gz
rust-7d303661cdfbf96768b341f500acde83dc052342.zip
Fix doc link for slice::binary_search
-rw-r--r--library/core/src/result.rs2
1 files changed, 1 insertions, 1 deletions
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<T> Result<T, T> {
     /// 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
     ///