complete version

This commit is contained in:
2022-06-17 13:42:33 +01:00
parent 7e9e16690e
commit 3d2a9c67e7
17 changed files with 205 additions and 44 deletions

7
stack-and-heap-program/Cargo.lock generated Normal file
View File

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "stack-and-heap-program"
version = "0.1.0"

View File

@ -0,0 +1,4 @@
[package]
name = "stack-and-heap-program"
version = "0.1.0"
edition = "2021"

View File

@ -0,0 +1,5 @@
fn main() {
let a = Box::new(5_u8);
let b = 10_u8;
println!("{}, {}", a, b);
}