Flatten nested Rust projects into monorepo

This commit is contained in:
2025-07-01 10:51:25 +03:00
commit 1170ebe04d
29 changed files with 557 additions and 0 deletions

16
variables/src/main.rs Normal file
View File

@@ -0,0 +1,16 @@
fn main() {
let x = 10;
let x = x * 5;
{
let x = x / 2;
println!("x in the inner scope: {x}");
}
println!("x in the outer scope: {x}");
// let mut space = " ";
// space = space.len();
// println!("spaces: {space}");
}