diff options
author | Kian-Meng Ang <kianmeng@cpan.org> | 2022-09-14 14:05:01 +0000 |
---|---|---|
committer | Kian-Meng Ang <kianmeng@cpan.org> | 2022-09-14 14:05:01 +0000 |
commit | f709dfd43a9031604646a4c96291388c43e36b8a (patch) | |
tree | 4b1c634019bfbc4e3982ae5f2c651169f588d0dc /src/listing.rs | |
parent | Merge pull request #875 from svenstaro/dependabot/cargo/chrono-humanize-0.2.2 (diff) | |
download | miniserve-f709dfd43a9031604646a4c96291388c43e36b8a.tar.gz miniserve-f709dfd43a9031604646a4c96291388c43e36b8a.zip |
Fix typos
Found via `codespell -L crate`.
Diffstat (limited to '')
-rw-r--r-- | src/listing.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/listing.rs b/src/listing.rs index 82b4cdb..851f4ac 100644 --- a/src/listing.rs +++ b/src/listing.rs @@ -121,12 +121,12 @@ impl Entry { } } - /// Returns wether the entry is a directory + /// Returns whether the entry is a directory pub fn is_dir(&self) -> bool { self.entry_type == EntryType::Directory } - /// Returns wether the entry is a file + /// Returns whether the entry is a file pub fn is_file(&self) -> bool { self.entry_type == EntryType::File } |