From 74b2901d02894acbe40d560f7494353292324c5f Mon Sep 17 00:00:00 2001 From: tasi788 Date: Mon, 19 Sep 2022 21:33:12 +0800 Subject: [PATCH] Auto stash before merge of "master" and "origin/master" --- AutoBuild/main.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/AutoBuild/main.rs b/AutoBuild/main.rs index 61a55e3..ba4573a 100644 --- a/AutoBuild/main.rs +++ b/AutoBuild/main.rs @@ -101,12 +101,12 @@ fn main() { Err(why) => panic!("couldn't read {}: {:?}", display, why), Ok(..) => println!("{:?}", reader), } - - println!("{:?}", file); - let mut file = match File::create(&path) { - Err(why) => panic!("couldn't create {}: {:?}", display, why), - Ok(file) => file, - }; + println!("{}", reader); + // println!("{:?}", file); + // let mut file = match File::create(&path) { + // Err(why) => panic!("couldn't create {}: {:?}", display, why), + // Ok(file) => file, + // }; // match file.write_all(LOREM_IPSUM.as_bytes()) { // Err(why) => { // panic!("couldn't write to {}: {:?}", display, why)