diff options
Diffstat (limited to 'src')
| -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(); | 
