cache chapter 3.0

This commit is contained in:
tobyatgithub 2021-10-22 16:22:09 -07:00
parent 116919c133
commit 7edf4a7888
3 changed files with 23 additions and 0 deletions

7
projects/variables/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 = "variables"
version = "0.1.0"

View File

@ -0,0 +1,8 @@
[package]
name = "variables"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View File

@ -0,0 +1,8 @@
fn main() {
const MAX_POINTS: u32 = 100_000;
// let x = 5;
let mut x = 5;
println!("The value of x is: {}", x);
x = 6;
println!("The value of x is: {}", x);
}