aboutsummaryrefslogtreecommitdiffstats
path: root/src/listing.rs
diff options
context:
space:
mode:
authorcyqsimon <28627918+cyqsimon@users.noreply.github.com>2022-09-15 18:56:02 +0000
committerGitHub <noreply@github.com>2022-09-15 18:56:02 +0000
commit82a3207671e3a01eb011129e1f34b653ca7eb39c (patch)
treedf7667ba5db89c496db7a26e2628f32e56f17f65 /src/listing.rs
parentAdd tooltip on QR code (diff)
parentMerge pull request #902 from kianmeng/fix-typos (diff)
downloadminiserve-82a3207671e3a01eb011129e1f34b653ca7eb39c.tar.gz
miniserve-82a3207671e3a01eb011129e1f34b653ca7eb39c.zip
Merge branch 'master' into qrcode
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 c0104b1..7477599 100644
--- a/src/listing.rs
+++ b/src/listing.rs
@@ -119,12 +119,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
}