Skip to content

Commit f035281

Browse files
committed
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.
1 parent 8727b9c commit f035281

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/tools/linkchecker/main.rs

+23
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,29 @@ const LINKCHECK_EXCEPTIONS: &[(&str, &[&str])] = &[
5050
("alloc/slice/trait.Concat.html", &["#method.concat"]),
5151
("alloc/slice/index.html", &["#method.concat", "#method.join"]),
5252
("alloc/vec/struct.Vec.html", &["#method.sort_by_key", "#method.sort_by_cached_key"]),
53+
("alloc/bstr/struct.ByteStr.html", &[
54+
"#method.to_ascii_uppercase",
55+
"#method.to_ascii_lowercase",
56+
"core/slice::sort_by_key",
57+
"core\\slice::sort_by_key",
58+
"#method.sort_by_cached_key",
59+
"#method.sort_by_key"
60+
]),
61+
("alloc/bstr/struct.ByteString.html", &[
62+
"#method.to_ascii_uppercase",
63+
"#method.to_ascii_lowercase",
64+
"core/slice::sort_by_key",
65+
"core\\slice::sort_by_key",
66+
"#method.sort_by_cached_key",
67+
"#method.sort_by_key"
68+
]),
69+
("core/bstr/struct.ByteStr.html", &[
70+
"#method.to_ascii_uppercase",
71+
"#method.to_ascii_lowercase",
72+
"core/bstr/slice::sort_by_key",
73+
"core\\bstr\\slice::sort_by_key",
74+
"#method.sort_by_cached_key"
75+
]),
5376
("core/primitive.str.html", &["#method.to_ascii_uppercase", "#method.to_ascii_lowercase"]),
5477
("core/primitive.slice.html", &["#method.to_ascii_uppercase", "#method.to_ascii_lowercase",
5578
"core/slice::sort_by_key", "core\\slice::sort_by_key",

0 commit comments

Comments
 (0)