From 2e2a670073b5abd523418357a2ebbbc1352ec696 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Wed, 19 Apr 2017 12:42:07 -0400 Subject: [PATCH] Remove platform-specific directory separator. --- src/tools/linkchecker/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/linkchecker/main.rs b/src/tools/linkchecker/main.rs index 531c148de261..3d9a4fba6cde 100644 --- a/src/tools/linkchecker/main.rs +++ b/src/tools/linkchecker/main.rs @@ -149,7 +149,7 @@ fn check(cache: &mut Cache, // mdbook uses the HTML tag to handle links for subdirectories, which // linkchecker doesn't support - if file.to_str().unwrap().contains("unstable-book/") { + if file.to_str().unwrap().contains("unstable-book") { return None; }