1
Fork 0

Rollup merge of #71578 - ryzokuken:linkchecker, r=Dylan-DPC

linkchecker: fix typo in main.rs

Came across this while reading the file.
This commit is contained in:
Dylan DPC 2020-04-27 22:15:06 +02:00 committed by GitHub
commit f4e0431da0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,7 +114,7 @@ fn walk(cache: &mut Cache, root: &Path, dir: &Path, errors: &mut bool) {
}
fn check(cache: &mut Cache, root: &Path, file: &Path, errors: &mut bool) -> Option<PathBuf> {
// Ignore none HTML files.
// Ignore non-HTML files.
if file.extension().and_then(|s| s.to_str()) != Some("html") {
return None;
}