aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive.rs
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2022-09-15 06:47:12 +0000
committerGitHub <noreply@github.com>2022-09-15 06:47:12 +0000
commit2648e6b1a579d0e0e5c36fea0b13fb74bc59c889 (patch)
treea2ca2595f95fbad4f4213f017391602affcc0b2d /src/archive.rs
parentBump deps (diff)
parentFix typos (diff)
downloadminiserve-2648e6b1a579d0e0e5c36fea0b13fb74bc59c889.tar.gz
miniserve-2648e6b1a579d0e0e5c36fea0b13fb74bc59c889.zip
Merge pull request #902 from kianmeng/fix-typos
Fix typos
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)