add solutions for variables

This commit is contained in:
sunface
2022-03-01 22:06:38 +08:00
parent 47d37b6940
commit 258f0ed589
32 changed files with 85 additions and 24 deletions

View File

@ -163,4 +163,6 @@ fn main() {
// add one line below to make a compiler error: cannot borrow `s` as mutable more than once at a time
// you can't use r1 and r2 at the same time
}
```
```
> You can find the solutions [here](https://github.com/sunface/rust-by-practice)(under the solutions path), but only use it when you need it