linkchecker: fix typo in main.rs

This commit is contained in:
Ujjwal Sharma 2020-04-26 17:09:15 +05:30
parent 019ab732ce
commit 3a6fa99f9e
No known key found for this signature in database
GPG Key ID: FFE7DDA293737864

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