Skip to content

Commit 7e435ce

Browse files
Fix linkchecker on windows (backslash issue)
1 parent 25406d5 commit 7e435ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/linkchecker/main.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ const LINKCHECK_EXCEPTIONS: &[(&str, &[&str])] = &[
4949
("alloc/vec/struct.Vec.html", &["#method.sort_by_key", "#method.sort_by_cached_key"]),
5050
("core/primitive.str.html", &["#method.to_ascii_uppercase", "#method.to_ascii_lowercase"]),
5151
("core/primitive.slice.html", &["#method.to_ascii_uppercase", "#method.to_ascii_lowercase",
52-
"#method.sort_by_cached_key", "core/slice::sort_by_key"]),
52+
"core/slice::sort_by_key", "core\\slice::sort_by_key",
53+
"#method.sort_by_cached_key"]),
5354
];
5455

5556
#[rustfmt::skip]

0 commit comments

Comments
 (0)