From c0ee603890423404f797c53da7335282062e3b9f Mon Sep 17 00:00:00 2001 From: Rouven Spreckels Date: Sat, 14 Sep 2024 17:47:39 +0200 Subject: [PATCH] Fix doc links. --- RELEASES.md | 1 + src/lib.rs | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 665fed9..018e7d1 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,6 @@ # Version 0.4.0 (2024-09-14) + * Fix doc links. * Bump dependencies. # Version 0.3.1 (2024-06-13) diff --git a/src/lib.rs b/src/lib.rs index c25ea68..8968ff5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1565,8 +1565,7 @@ where feature = "alloc", doc = "\ Assumes that the array is sorted by the key, for instance with - [`sort_by_key`] using the same key extraction function. - " + [`sort_by_key`] using the same key extraction function." )] /// /// If the value is found then [`Result::Ok`] is returned, containing the @@ -1583,8 +1582,7 @@ where #[cfg_attr( feature = "alloc", doc = "\ - [`sort_by_key`]: Slice1Ext::sort_by_key - " + [`sort_by_key`]: Slice1Ext::sort_by_key" )] /// [`binary_search`]: Slice1Ext::binary_search /// [`binary_search_by`]: Slice1Ext::binary_search_by