diff --git a/rust-book/chapter-1/guessing_game/src/main.rs b/rust-book/chapter-1/guessing_game/src/main.rs index eca8308..4fc83aa 100644 --- a/rust-book/chapter-1/guessing_game/src/main.rs +++ b/rust-book/chapter-1/guessing_game/src/main.rs @@ -7,9 +7,13 @@ fn main() { let mut guess = String::new(); - io::stdin().read_line(&mut guess) + io::stdin() + .read_line(&mut guess) .expect("Failed to read line"); - println!("You guessed: {}", guess); } + +fn test(arg: String) -> String { + unimplemented!() +} diff --git a/rust-book/chapter-1/hello_world/main b/rust-book/chapter-1/hello_world/main deleted file mode 100755 index e1a8033..0000000 Binary files a/rust-book/chapter-1/hello_world/main and /dev/null differ diff --git a/rust-book/chapter-1/hello_world/main.rs b/rust-book/chapter-1/hello_world/main.rs deleted file mode 100644 index e7a11a9..0000000 --- a/rust-book/chapter-1/hello_world/main.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println!("Hello, world!"); -} diff --git a/rust-book/todo.txt b/rust-book/todo.txt index 40b5f1b..3bd760d 100644 --- a/rust-book/todo.txt +++ b/rust-book/todo.txt @@ -9,3 +9,7 @@ To do: -rustup install nightly-x86_64-apple-darwin -rustup component add rls --toolchain nightly-x86_64-apple-darwin + + + +https://www.reddit.com/r/rust/comments/a40www/sublime_text_3_question/