X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/ab7f9b241429bd675b437d2437799de75d2f409b..c24608f06fed046dba74acbfed65efadf735632e:/src/part13.rs 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 {