projects
/
rust-101.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more typos
[rust-101.git]
/
solutions
/
src
/
rgrep.rs
diff --git
a/solutions/src/rgrep.rs
b/solutions/src/rgrep.rs
index 316e6f0c7cbbd1b3bfefa5e871031d9d51f46a46..e64d2fda9445bd2fcb9d80f9c0bc9f700d8a638a 100644
(file)
--- a/
solutions/src/rgrep.rs
+++ b/
solutions/src/rgrep.rs
@@
-134,7
+134,7
@@
fn get_options() -> Options {
fn run(options: Options) {
let options = Arc::new(options);
fn run(options: Options) {
let options = Arc::new(options);
- //
Set
up the chain of threads. Use `sync_channel` with buffer-size of 16 to avoid needlessly filling RAM.
+ //
This sets
up the chain of threads. Use `sync_channel` with buffer-size of 16 to avoid needlessly filling RAM.
let (line_sender, line_receiver) = sync_channel(16);
let (filtered_sender, filtered_receiver) = sync_channel(16);
let (line_sender, line_receiver) = sync_channel(16);
let (filtered_sender, filtered_receiver) = sync_channel(16);