Merge pull request #545 from jpenna/patch-2

Add new solution in variables ex. 4
This commit is contained in:
Sunface
2025-02-10 16:17:28 +08:00
committed by GitHub

View File

@ -35,6 +35,17 @@ fn main() {
4.
```rust
fn main() {
define_x();
}
fn define_x() {
let x = "hello";
println!("{}, world", x);
}
```
```rust
fn main() {
let x = define_x();