diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2025-01-05 16:51:49 +0200 | 
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2025-01-11 06:35:21 +0200 | 
| commit | 049217b65a1aebaa62c4ab9fe85fbff938961e7d (patch) | |
| tree | 69b59185ce808ff70e9fc13837842e3d74552fc7 | |
| parent | fc34bea69db2294413b3ecea5edd1f12c70c0f8b (diff) | |
| download | rust-049217b65a1aebaa62c4ab9fe85fbff938961e7d.tar.gz rust-049217b65a1aebaa62c4ab9fe85fbff938961e7d.zip | |
Add bstr files to linkchecker since they have a Deref to slice
The Deref brings in the documentation from slice, so it has the same issue as slice.
| -rw-r--r-- | src/tools/linkchecker/main.rs | 23 | 
1 files changed, 23 insertions, 0 deletions
| diff --git a/src/tools/linkchecker/main.rs b/src/tools/linkchecker/main.rs index 570b2c374c0..19340b5d07a 100644 --- a/src/tools/linkchecker/main.rs +++ b/src/tools/linkchecker/main.rs @@ -50,6 +50,29 @@ const LINKCHECK_EXCEPTIONS: &[(&str, &[&str])] = &[ ("alloc/slice/trait.Concat.html", &["#method.concat"]), ("alloc/slice/index.html", &["#method.concat", "#method.join"]), ("alloc/vec/struct.Vec.html", &["#method.sort_by_key", "#method.sort_by_cached_key"]), + ("alloc/bstr/struct.ByteStr.html", &[ + "#method.to_ascii_uppercase", + "#method.to_ascii_lowercase", + "core/slice::sort_by_key", + "core\\slice::sort_by_key", + "#method.sort_by_cached_key", + "#method.sort_by_key" + ]), + ("alloc/bstr/struct.ByteString.html", &[ + "#method.to_ascii_uppercase", + "#method.to_ascii_lowercase", + "core/slice::sort_by_key", + "core\\slice::sort_by_key", + "#method.sort_by_cached_key", + "#method.sort_by_key" + ]), + ("core/bstr/struct.ByteStr.html", &[ + "#method.to_ascii_uppercase", + "#method.to_ascii_lowercase", + "core/bstr/slice::sort_by_key", + "core\\bstr\\slice::sort_by_key", + "#method.sort_by_cached_key" + ]), ("core/primitive.str.html", &["#method.to_ascii_uppercase", "#method.to_ascii_lowercase"]), ("core/primitive.slice.html", &["#method.to_ascii_uppercase", "#method.to_ascii_lowercase", "core/slice::sort_by_key", "core\\slice::sort_by_key", | 
