From f709dfd43a9031604646a4c96291388c43e36b8a Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Wed, 14 Sep 2022 22:05:01 +0800 Subject: Fix typos Found via `codespell -L crate`. --- src/listing.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/listing.rs') 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 } -- cgit v1.2.3