From 7e435ce3d8fa5fc5c22abb7a7ab8c0ba068c665b Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 26 Aug 2021 10:31:43 +0200 Subject: [PATCH] Fix linkchecker on windows (backslash issue) --- src/tools/linkchecker/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/linkchecker/main.rs b/src/tools/linkchecker/main.rs index 7b12d3d8602a5..94ebbb33e8d8f 100644 --- a/src/tools/linkchecker/main.rs +++ b/src/tools/linkchecker/main.rs @@ -49,7 +49,8 @@ const LINKCHECK_EXCEPTIONS: &[(&str, &[&str])] = &[ ("alloc/vec/struct.Vec.html", &["#method.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", - "#method.sort_by_cached_key", "core/slice::sort_by_key"]), + "core/slice::sort_by_key", "core\\slice::sort_by_key", + "#method.sort_by_cached_key"]), ]; #[rustfmt::skip]