]> git.lizzy.rs Git - rust.git/commitdiff
linkchecker: fix typo in main.rs
authorUjjwal Sharma <ryzokuken@disroot.org>
Sun, 26 Apr 2020 11:39:15 +0000 (17:09 +0530)
committerUjjwal Sharma <ryzokuken@disroot.org>
Sun, 26 Apr 2020 11:39:15 +0000 (17:09 +0530)
src/tools/linkchecker/main.rs

index fb4611ed1ca4bec3b88763e8fc5b21c8e941c3cc..570ffd5d306227ed228d2d9e8bd85c19d6b394b9 100644 (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 nonHTML files.
+    // Ignore non-HTML files.
     if file.extension().and_then(|s| s.to_str()) != Some("html") {
         return None;
     }