X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/ab7f9b241429bd675b437d2437799de75d2f409b..7c40ab364e37362f07302da9074f2cabacffe8c7:/src/part13.rs?ds=sidebyside diff --git a/src/part13.rs b/src/part13.rs index 8edcc99..054a006 100644 --- a/src/part13.rs +++ b/src/part13.rs @@ -13,7 +13,7 @@ use std::sync::Arc; //@ pitfall of concurrent programming: data races. We will see how that works concretely. // Before we come to the actual code, we define a data-structure `Options` to store all the information we need -// to complete the job: Which files to work on, which pattern to look for, and how to output.
+// to complete the job: Which files to work on, which pattern to look for, and how to output. //@ Besides just printing all the matching lines, we will also offer to count them, or alternatively to sort them. #[derive(Clone,Copy)] pub enum OutputMode {