diff options
| author | Teddy Wing | 2016-04-05 21:16:00 -0400 |
|---|---|---|
| committer | Teddy Wing | 2016-04-05 21:16:00 -0400 |
| commit | 3047906677b194f6f6ecbc2cf39662a4f1f5d97a (patch) | |
| tree | 3128386889349002790558939e04182c11104d53 | |
| parent | 55b07581cf2e414460461e9e1591059b5dc459d3 (diff) | |
| download | mutt-alias-auto-add-3047906677b194f6f6ecbc2cf39662a4f1f5d97a.tar.bz2 | |
Remove old commented code from 55b07581cf2e414460461e9e1591059b5dc459d3
| -rw-r--r-- | src/main.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/main.rs b/src/main.rs index 135e0c5..a30b4da 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,26 +1,6 @@ use std::io::{self, BufRead}; -// use std::io::Read; fn main() { - // let mut input = String::new(); - // io::stdin().read_to_end(&mut input).unwrap(); - // .expect("Failed to read STDIN"); - - // match io::stdin().lock() { - // Ok(s) => s.read_to_string(&mut input), - // Err(e) => panic!("Error: {}", e), - // } - - // let stdin = io::stdin(); - // for line in stdin.lock().lines() { - // input.push_str(&line.unwrap()); - // } - - // let stdin = io::stdin(); - // loop { - // stdin.read_line(&mut input).expect("asdf"); - // } - let stdin = io::stdin(); let input: Vec<String> = stdin.lock().lines().map(|line| line.unwrap()).collect(); |
