hopefully fix rustdoc links

This commit is contained in:
Ralf Jung 2020-09-15 23:46:26 +02:00
parent c528d24196
commit 7d67546a6a

View File

@ -105,7 +105,7 @@ pub(super) fn slice_end_index_overflow_fail() -> ! {
/// std::slice::check_range(3, 1..=usize::MAX);
/// ```
///
/// [`Index::index`]: crate::ops::Index::index
/// [`Index::index`]: ops::Index::index
#[track_caller]
#[unstable(feature = "slice_check_range", issue = "76393")]
pub fn check_range<R: RangeBounds<usize>>(len: usize, range: R) -> Range<usize> {