diff options
author | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2022-09-15 18:56:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-15 18:56:02 +0000 |
commit | 82a3207671e3a01eb011129e1f34b653ca7eb39c (patch) | |
tree | df7667ba5db89c496db7a26e2628f32e56f17f65 /src/archive.rs | |
parent | Add tooltip on QR code (diff) | |
parent | Merge pull request #902 from kianmeng/fix-typos (diff) | |
download | miniserve-82a3207671e3a01eb011129e1f34b653ca7eb39c.tar.gz miniserve-82a3207671e3a01eb011129e1f34b653ca7eb39c.zip |
Merge branch 'master' into qrcode
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) |