start tutorial
This commit is contained in:
4
tutorial/01-rust-hello/solution/Cargo.toml
Normal file
4
tutorial/01-rust-hello/solution/Cargo.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[package]
|
||||
name = "step01_rust_hello_solution"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
8
tutorial/01-rust-hello/solution/src/main.rs
Normal file
8
tutorial/01-rust-hello/solution/src/main.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
fn main() {
|
||||
let participant_name = "Didacta Participant";
|
||||
let workshop_title = "Rust on Embedded @ Didacta";
|
||||
|
||||
println!("Hello, {participant_name}!");
|
||||
println!("Welcome to: {workshop_title}");
|
||||
println!("Next step: types, control flow, and ownership.");
|
||||
}
|
||||
Reference in New Issue
Block a user