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:
@@ -283,3 +283,5 @@ fn use_list(list: &List) {
|
||||
println!("{}", list.manager.text);
|
||||
}
|
||||
```
|
||||
|
||||
> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/lifetime/advance.md)找到答案(在 solutions 路径下)
|
||||
|
@@ -335,3 +335,5 @@ enum Either<'a> {
|
||||
|
||||
fn main() {}
|
||||
```
|
||||
|
||||
> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/lifetime/basic.md)找到答案(在 solutions 路径下)
|
||||
|
@@ -185,3 +185,5 @@ fn print_g(t: &'static String) {
|
||||
println!("{}", t);
|
||||
}
|
||||
```
|
||||
|
||||
> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/lifetime/static.md)找到答案(在 solutions 路径下)
|
||||
|
Reference in New Issue
Block a user