fix: add and fix solution links

This commit is contained in:
Zarkli Leonardo
2023-01-20 20:01:54 +08:00
parent af2a2a6b3b
commit 1a5f76b00b
36 changed files with 54 additions and 24 deletions

View File

@@ -282,3 +282,5 @@ fn use_list(list: &List) {
println!("{}", list.manager.text);
}
```
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/lifetime/advance.md)(under the solutions path), but only use it when you need it :)

View File

@@ -355,4 +355,5 @@ enum Either<'a> {
}
fn main() {}
```
```
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/lifetime/basic.md)(under the solutions path), but only use it when you need it :)

View File

@@ -195,3 +195,5 @@ fn print_g(t: &'static String) {
println!("{}", t);
}
```
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/lifetime/static.md)(under the solutions path), but only use it when you need it :)