mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-08-12 06:24:44 +00:00
fix: add and fix solution links
This commit is contained in:
@@ -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 :)
|
||||
|
@@ -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 :)
|
||||
|
@@ -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 :)
|
||||
|
Reference in New Issue
Block a user