aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive.rs
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng@cpan.org>2022-09-14 14:05:01 +0000
committerKian-Meng Ang <kianmeng@cpan.org>2022-09-14 14:05:01 +0000
commitf709dfd43a9031604646a4c96291388c43e36b8a (patch)
tree4b1c634019bfbc4e3982ae5f2c651169f588d0dc /src/archive.rs
parentMerge pull request #875 from svenstaro/dependabot/cargo/chrono-humanize-0.2.2 (diff)
downloadminiserve-f709dfd43a9031604646a4c96291388c43e36b8a.tar.gz
miniserve-f709dfd43a9031604646a4c96291388c43e36b8a.zip
Fix typos
Found via `codespell -L crate`.
Diffstat (limited to 'src/archive.rs')
-rw-r--r--src/archive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive.rs b/src/archive.rs
index 29f60c1..940d4b6 100644
--- a/src/archive.rs
+++ b/src/archive.rs
@@ -250,7 +250,7 @@ where
continue;
}
let current_entry_name = entry_path.file_name().ok_or_else(|| {
- ContextualError::InvalidPathError("Invalid file or direcotory name".to_string())
+ ContextualError::InvalidPathError("Invalid file or directory name".to_string())
})?;
if entry_metadata.is_file() {
let mut f = File::open(&entry_path)