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:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 53a4309..ac78668 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -41,10 +41,6 @@ for entry in WalkDir::new("foo") {
}
# Ok(())
# }
-#
-# fn main() {
-# try_main().unwrap();
-# }
```
Or, if you'd like to iterate over all entries and ignore any errors that may
@@ -75,10 +71,6 @@ for entry in WalkDir::new("foo").follow_links(true) {
}
# Ok(())
# }
-#
-# fn main() {
-# try_main().unwrap();
-# }
```
[`follow_links`]: struct.Walkdir.html#method.follow_links
@@ -106,10 +98,6 @@ for entry in walker.filter_entry(|e| !is_hidden(e)) {
}
# Ok(())
# }
-#
-# fn main() {
-# try_main().unwrap();
-}
```
[`filter_entry`]: struct.IntoIter.html#method.filter_entry
@@ -197,10 +185,6 @@ pub type Result<T> = ::std::result::Result<T, Error>;
/// }
/// # Ok(())
/// # }
-/// #
-/// # fn main() {
-/// # try_main().unwrap();
-/// # }
/// ```
///
/// [`IntoIterator`]: https://doc.rust-lang.org/stable/std/iter/trait.IntoIterator.html
@@ -221,10 +205,6 @@ pub type Result<T> = ::std::result::Result<T, Error>;
/// }
/// # Ok(())
/// # }
-/// #
-/// # fn main() {
-/// # try_main().unwrap();
-/// # }
/// ```
///
/// [`min_depth`]: struct.WalkDir.html#method.min_depth
@@ -713,10 +693,6 @@ impl IntoIter {
/// }
/// # Ok(())
/// # }
- /// #
- /// # fn main() {
- /// # try_main().unwrap();
- /// # }
/// ```
///
/// Note that the iterator will still yield errors for reading entries that
@@ -1134,10 +1110,6 @@ impl<P> FilterEntry<IntoIter, P>
/// }
/// # Ok(())
/// # }
- /// #
- /// # fn main() {
- /// # try_main().unwrap();
- /// # }
/// ```
///
/// Note that the iterator will still yield errors for reading entries that