about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-04-19 12:42:07 -0400
committerCorey Farwell <coreyf@rwell.org>2017-04-19 12:42:07 -0400
commit2e2a670073b5abd523418357a2ebbbc1352ec696 (patch)
tree73d0d13a9f6fdf619ae286a93688091686a3dca9 /src
parentbf202c880c7028a12a70bf119c359563413988d2 (diff)
downloadrust-2e2a670073b5abd523418357a2ebbbc1352ec696.tar.gz
rust-2e2a670073b5abd523418357a2ebbbc1352ec696.zip
Remove platform-specific directory separator.
Diffstat (limited to 'src')
-rw-r--r--src/tools/linkchecker/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/linkchecker/main.rs b/src/tools/linkchecker/main.rs
index 531c148de26..3d9a4fba6cd 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 <base> 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;
     }