doc: fix typos

PR #1605
This commit is contained in:
Martin Michlmayr
2020-06-04 21:06:09 +08:00
committed by GitHub
parent b1e3de246c
commit 1b2c1dc675
11 changed files with 14 additions and 14 deletions

View File

@@ -134,7 +134,7 @@ impl<'a> Glob<'a> {
Glob(GlobInner::UnmatchedIgnore)
}
/// Return the file type defintion that matched, if one exists. A file type
/// Return the file type definition that matched, if one exists. A file type
/// definition always exists when a specific definition matches a file
/// path.
pub fn file_type_def(&self) -> Option<&FileTypeDef> {