Refining Ch03.

This commit is contained in:
rust-lang.xfoss.com
2023-12-08 10:54:04 +08:00
parent 4965f88387
commit 1e2d49aeb6
2 changed files with 96 additions and 43 deletions

View File

@@ -1,7 +1,4 @@
fn main() {
let x = 5;
println! ("x 的值为:{x}");
x = 6;
println! ("x 的值为:{x}");
let mut spaces = " ";
spaces = spaces.len();
}