@@ -2082,6 +2082,12 @@ impl<T> [T] {
20822082 /// [`Result::Err`] is returned, containing the index where a matching
20832083 /// element could be inserted while maintaining sorted order.
20842084 ///
2085+ /// See also [`binary_search_by`], [`binary_search_by_key`], and [`partition_point`].
2086+ ///
2087+ /// [`binary_search_by`]: #method.binary_search_by
2088+ /// [`binary_search_by_key`]: #method.binary_search_by_key
2089+ /// [`partition_point`]: #method.partition_point
2090+ ///
20852091 /// # Examples
20862092 ///
20872093 /// Looks up a series of four elements. The first is found, with a
@@ -2129,6 +2135,12 @@ impl<T> [T] {
21292135 /// [`Result::Err`] is returned, containing the index where a matching
21302136 /// element could be inserted while maintaining sorted order.
21312137 ///
2138+ /// See also [`binary_search`], [`binary_search_by_key`], and [`partition_point`].
2139+ ///
2140+ /// [`binary_search`]: #method.binary_search
2141+ /// [`binary_search_by_key`]: #method.binary_search_by_key
2142+ /// [`partition_point`]: #method.partition_point
2143+ ///
21322144 /// # Examples
21332145 ///
21342146 /// Looks up a series of four elements. The first is found, with a
@@ -2186,7 +2198,12 @@ impl<T> [T] {
21862198 /// [`Result::Err`] is returned, containing the index where a matching
21872199 /// element could be inserted while maintaining sorted order.
21882200 ///
2201+ /// See also [`binary_search`], [`binary_search_by`], and [`partition_point`].
2202+ ///
21892203 /// [`sort_by_key`]: #method.sort_by_key
2204+ /// [`binary_search`]: #method.binary_search
2205+ /// [`binary_search_by`]: #method.binary_search_by
2206+ /// [`partition_point`]: #method.partition_point
21902207 ///
21912208 /// # Examples
21922209 ///
@@ -3399,6 +3416,12 @@ impl<T> [T] {
33993416 /// If this slice is not partitioned, the returned result is unspecified and meaningless,
34003417 /// as this method performs a kind of binary search.
34013418 ///
3419+ /// See also [`binary_search`], [`binary_search_by`], and [`binary_search_by_key`].
3420+ ///
3421+ /// [`binary_search`]: #method.binary_search
3422+ /// [`binary_search_by`]: #method.binary_search_by
3423+ /// [`binary_search_by_key`]: #method.binary_search_by_key
3424+ ///
34023425 /// # Examples
34033426 ///
34043427 /// ```
0 commit comments