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 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; }