Fix links again

This commit is contained in:
dylni
2020-08-06 14:14:29 -04:00
parent 202b242d87
commit ed02b90e9b
2 changed files with 2 additions and 2 deletions

View File

@@ -356,7 +356,6 @@ impl<T> [T] {
/// ///
/// [`get_unchecked`]: #method.get_unchecked /// [`get_unchecked`]: #method.get_unchecked
/// [`get_unchecked_mut`]: #method.get_unchecked_mut /// [`get_unchecked_mut`]: #method.get_unchecked_mut
/// [`Range`]: ops/struct.Range.html
/// ///
/// # Panics /// # Panics
/// ///
@@ -393,7 +392,7 @@ impl<T> [T] {
/// [10, 40, 30].check_range(1..=usize::MAX); /// [10, 40, 30].check_range(1..=usize::MAX);
/// ``` /// ```
/// ///
/// [`Index::index`]: ops/trait.Index.html#tymethod.index /// [`Index::index`]: ops::Index::index
#[track_caller] #[track_caller]
#[unstable(feature = "slice_check_range", issue = "none")] #[unstable(feature = "slice_check_range", issue = "none")]
pub fn check_range<R: RangeBounds<usize>>(&self, range: R) -> Range<usize> { pub fn check_range<R: RangeBounds<usize>>(&self, range: R) -> Range<usize> {

View File

@@ -39,6 +39,7 @@ const LINKCHECK_EXCEPTIONS: &[(&str, &[&str])] = &[
"#method.sort_by_key", "#method.sort_by_key",
"#method.make_ascii_uppercase", "#method.make_ascii_uppercase",
"#method.make_ascii_lowercase", "#method.make_ascii_lowercase",
"#method.get_unchecked_mut",
], ],
), ),
// These try to link to std::collections, but are defined in alloc // These try to link to std::collections, but are defined in alloc