Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/walkdir.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Zemek <s3rvac@gmail.com>2017-03-20 20:55:35 +0300
committerAndrew Gallant <jamslam@gmail.com>2017-03-20 22:02:07 +0300
commit9f25bb2ec7406bb3052f11c9e15b1cb0e1770e13 (patch)
treeb0582f858df35f58bde94ce0cdf5b2bff1b56a25
parent81438507f0e96e12091385b2a5ac36ee42daf0cb (diff)
Fix typos in comments.
"ergnomics" -> "ergonomics"
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index c882e83..ce8101e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -329,7 +329,7 @@ pub trait WalkDirIterator: Iterator {
/// recently yielded directory. This means any remaining entries in that
/// directory will be skipped (including sub-directories).
///
- /// Note that the ergnomics of this method are questionable since it
+ /// Note that the ergonomics of this method are questionable since it
/// borrows the iterator mutably. Namely, you must write out the looping
/// condition manually. For example, to skip hidden entries efficiently on
/// unix systems:
@@ -880,7 +880,7 @@ impl<I, P> WalkDirIterator for IterFilterEntry<I, P>
/// * An indication that a loop occurred when following symbolic links. In this
/// case, there is no underlying IO error.
///
-/// To maintain good ergnomics, this type has a
+/// To maintain good ergonomics, this type has a
/// `impl From<Error> for std::io::Error` defined so that you may use an
/// `io::Result` with methods in this crate if you don't care about accessing
/// the underlying error data in a structured form.