diff options
author | Amila Welihinda <amilajack@gmail.com> | 2018-11-21 11:12:28 -0800 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2018-11-25 12:01:38 +0100 |
commit | 566945a67889f42228f2a285383cf6cfa18bf534 (patch) | |
tree | 4de3686ae8f466edb4d0cfc9c0f25434d5daf025 | |
parent | a7fa781f9f6afe6ed81c927d56fbf30c738a12eb (diff) |
remove example from lib.rs
-rw-r--r-- | src/walk.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/walk.rs b/src/walk.rs index d5523ad..e1ccd25 100644 --- a/src/walk.rs +++ b/src/walk.rs @@ -61,18 +61,6 @@ fn walk(tx: channel::Sender<Message>, entries: &[PathBuf]) { }); } -/// Basic usage of diskus library -/// -/// # Example: -/// -/// ```rust -/// fn foo() { -/// let path = PathBuf::from("/"); -/// let paths = vec![path]; -/// let walk = Walk::new(&paths, 4); -/// let size = walk.run(); -/// } -/// ``` pub struct Walk<'a> { root_directories: &'a [PathBuf], threads: usize, |