summaryrefslogtreecommitdiff
path: root/rust/theBook/chapter-1-getting-started/helloCargo/src/main.rs
diff options
context:
space:
mode:
authorgarhve <git@garhve.com>2022-12-20 11:04:25 +0800
committergarhve <git@garhve.com>2022-12-20 11:04:25 +0800
commit369d11587339ce74f8ebc76f2607fe55545eaf7d (patch)
tree4b25c6f7e3aca08a90b25950f4f8e4430c4294bc /rust/theBook/chapter-1-getting-started/helloCargo/src/main.rs
parent0f1b6d015243e55a38b1c1b7e8af66668e4e794d (diff)
Build small project following the book
Diffstat (limited to 'rust/theBook/chapter-1-getting-started/helloCargo/src/main.rs')
-rw-r--r--rust/theBook/chapter-1-getting-started/helloCargo/src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/theBook/chapter-1-getting-started/helloCargo/src/main.rs b/rust/theBook/chapter-1-getting-started/helloCargo/src/main.rs
new file mode 100644
index 0000000..e7a11a9
--- /dev/null
+++ b/rust/theBook/chapter-1-getting-started/helloCargo/src/main.rs
@@ -0,0 +1,3 @@
+fn main() {
+ println!("Hello, world!");
+}