summaryrefslogtreecommitdiff
path: root/minigrep/src/main.rs
diff options
context:
space:
mode:
author53hornet <53hornet@gmail.com>2019-02-25 21:57:25 -0500
committer53hornet <53hornet@gmail.com>2019-02-25 21:57:25 -0500
commit3402ea2a8c91e187afdb5e8ca085d779f5877674 (patch)
tree33fe01879c3575dd8747d81becb02dfee713fdd2 /minigrep/src/main.rs
parentb7dd584bca69dc729d77b11b6a8378b8be0af647 (diff)
downloadlearning-rust-3402ea2a8c91e187afdb5e8ca085d779f5877674.tar.xz
learning-rust-3402ea2a8c91e187afdb5e8ca085d779f5877674.zip
Added first test.
Diffstat (limited to 'minigrep/src/main.rs')
-rw-r--r--minigrep/src/main.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/minigrep/src/main.rs b/minigrep/src/main.rs
index fc5ae9a..b1581c9 100644
--- a/minigrep/src/main.rs
+++ b/minigrep/src/main.rs
@@ -10,8 +10,6 @@ fn main() {
println!("Problem parsing arguments: {}", err);
process::exit(1);
});
- println!("\nSearching for {}", config.query);
- println!(" in file {}", config.filename);
if let Err(e) = minigrep::run(config) {
println!("Application error: {}", e);
process::exit(1);