diff options
author | Andrew Gallant <jamslam@gmail.com> | 2021-06-01 20:45:45 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2021-06-01 21:07:37 -0400 |
commit | e824531e387b96b43fd2c2d396c884c010eb13d4 (patch) | |
tree | ac6dc8dfa65f55daa72cac3e7cf7a6b763296041 /crates/ignore/examples/walk.rs | |
parent | af54069c51cc3656c9c343a7fb3c9360cfddf505 (diff) |
edition: manual changes
This is mostly just about removing 'extern crate' everywhere and fixing
the fallout.
Diffstat (limited to 'crates/ignore/examples/walk.rs')
-rw-r--r-- | crates/ignore/examples/walk.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/ignore/examples/walk.rs b/crates/ignore/examples/walk.rs index 969bd1cb..e064478c 100644 --- a/crates/ignore/examples/walk.rs +++ b/crates/ignore/examples/walk.rs @@ -1,7 +1,3 @@ -extern crate crossbeam_channel as channel; -use ignore; -use walkdir; - use std::env; use std::io::{self, Write}; use std::path::Path; @@ -14,7 +10,7 @@ fn main() { let mut path = env::args().nth(1).unwrap(); let mut parallel = false; let mut simple = false; - let (tx, rx) = channel::bounded::<DirEntry>(100); + let (tx, rx) = crossbeam_channel::bounded::<DirEntry>(100); if path == "parallel" { path = env::args().nth(2).unwrap(); parallel = true; |