]> git.lizzy.rs Git - rust.git/commitdiff
remove slice linkcheck exceptions
authorFrançois Mockers <mockersf@gmail.com>
Wed, 10 Mar 2021 17:18:56 +0000 (18:18 +0100)
committerFrançois Mockers <mockersf@gmail.com>
Wed, 10 Mar 2021 17:18:56 +0000 (18:18 +0100)
src/tools/linkchecker/main.rs

index 01e067ea0b803f81023735b918d457f314c548f4..f6875e0036f679e14bd16a7fd711feb090d1188e 100644 (file)
 // are cases where that does not work
 // [(generated_documentation_page, &[broken_links])]
 const LINKCHECK_EXCEPTIONS: &[(&str, &[&str])] = &[
-    // These are methods on slice, and `Self` does not work on primitive impls
-    // in intra-doc links (primitive impls are weird)
-    // https://github.com/rust-lang/rust/issues/62834 is necessary to be
-    // able to link to slices
-    ("std/io/struct.IoSlice.html", &["#method.as_mut_ptr", "#method.sort_by_key"]),
     // These try to link to std::collections, but are defined in alloc
     // https://github.com/rust-lang/rust/issues/74481
     ("std/collections/btree_map/struct.BTreeMap.html", &["#insert-and-complex-keys"]),