From 2fd2baf4b3b8b1c245c1d32285293e7b3b9de9eb Mon Sep 17 00:00:00 2001 From: WickedJack99 Date: Sun, 8 Sep 2024 09:24:44 +0200 Subject: [PATCH] Created Hello world. --- the_first/Cargo.lock | 7 +++++++ the_first/Cargo.toml | 6 ++++++ the_first/src/main.rs | 4 ++++ 3 files changed, 17 insertions(+) create mode 100644 the_first/Cargo.lock create mode 100644 the_first/Cargo.toml create mode 100644 the_first/src/main.rs diff --git a/the_first/Cargo.lock b/the_first/Cargo.lock new file mode 100644 index 0000000..954c2b2 --- /dev/null +++ b/the_first/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "the_first" +version = "0.1.0" diff --git a/the_first/Cargo.toml b/the_first/Cargo.toml new file mode 100644 index 0000000..e50b8bc --- /dev/null +++ b/the_first/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "the_first" +version = "0.1.0" +edition = "2021" + +[dependencies] diff --git a/the_first/src/main.rs b/the_first/src/main.rs new file mode 100644 index 0000000..726f34b --- /dev/null +++ b/the_first/src/main.rs @@ -0,0 +1,4 @@ +fn main() { + // ! means that println is a macro. Macros are used to handle token streams. + println!("Hello, world!"); +}