aboutsummaryrefslogtreecommitdiffstats
path: root/src/listing.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/listing.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/listing.rs')
-rw-r--r--src/listing.rs4
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
}