aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2016-04-05 21:16:00 -0400
committerTeddy Wing2016-04-05 21:16:00 -0400
commit3047906677b194f6f6ecbc2cf39662a4f1f5d97a (patch)
tree3128386889349002790558939e04182c11104d53 /src
parent55b07581cf2e414460461e9e1591059b5dc459d3 (diff)
downloadmutt-alias-auto-add-3047906677b194f6f6ecbc2cf39662a4f1f5d97a.tar.bz2
Remove old commented code from 55b07581cf2e414460461e9e1591059b5dc459d3
Diffstat (limited to 'src')
-rw-r--r--src/main.rs20
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();