diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2022-09-15 06:47:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-15 06:47:12 +0000 |
commit | 2648e6b1a579d0e0e5c36fea0b13fb74bc59c889 (patch) | |
tree | a2ca2595f95fbad4f4213f017391602affcc0b2d /src/archive.rs | |
parent | Bump deps (diff) | |
parent | Fix typos (diff) | |
download | miniserve-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.rs | 2 |
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) |