Created Hello world.
This commit is contained in:
7
the_first/Cargo.lock
generated
Normal file
7
the_first/Cargo.lock
generated
Normal file
@@ -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"
|
||||
6
the_first/Cargo.toml
Normal file
6
the_first/Cargo.toml
Normal file
@@ -0,0 +1,6 @@
|
||||
[package]
|
||||
name = "the_first"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
4
the_first/src/main.rs
Normal file
4
the_first/src/main.rs
Normal file
@@ -0,0 +1,4 @@
|
||||
fn main() {
|
||||
// ! means that println is a macro. Macros are used to handle token streams.
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Reference in New Issue
Block a user