From ec2b686f705e7eabb44806f8cf307e6443269d06 Mon Sep 17 00:00:00 2001 From: zongzi531 Date: Thu, 23 Jun 2022 13:10:34 +0800 Subject: [PATCH] fix: links --- zh-CN/src/compound-types/array.md | 2 +- zh-CN/src/compound-types/enum.md | 2 +- zh-CN/src/compound-types/slice.md | 2 +- zh-CN/src/compound-types/string.md | 2 +- zh-CN/src/compound-types/struct.md | 2 +- zh-CN/src/compound-types/tuple.md | 2 +- zh-CN/src/flow-control.md | 2 +- zh-CN/src/generics-traits/generics.md | 2 +- zh-CN/src/method.md | 2 +- zh-CN/src/ownership/borrowing.md | 2 +- zh-CN/src/pattern-match/match-iflet.md | 2 +- zh-CN/src/pattern-match/patterns.md | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/zh-CN/src/compound-types/array.md b/zh-CN/src/compound-types/array.md index 96ab06f..4356c3a 100644 --- a/zh-CN/src/compound-types/array.md +++ b/zh-CN/src/compound-types/array.md @@ -83,4 +83,4 @@ fn main() { } ``` -> 你可以在[这里](https://github.com/sunface/rust-by-practice)找到答案(在 solutions 路径下) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/array.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/compound-types/enum.md b/zh-CN/src/compound-types/enum.md index 3463c19..857ee79 100644 --- a/zh-CN/src/compound-types/enum.md +++ b/zh-CN/src/compound-types/enum.md @@ -191,4 +191,4 @@ fn main() { } ``` -> 你可以在[这里](https://github.com/sunface/rust-by-practice)找到答案(在 solutions 路径下) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/enum.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/compound-types/slice.md b/zh-CN/src/compound-types/slice.md index 649a5d9..4cb9956 100644 --- a/zh-CN/src/compound-types/slice.md +++ b/zh-CN/src/compound-types/slice.md @@ -89,4 +89,4 @@ fn first_word(s: &str) -> &str { } ``` -> 你可以在[这里](https://github.com/sunface/rust-by-practice)找到答案(在 solutions 路径下) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/slice.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/compound-types/string.md b/zh-CN/src/compound-types/string.md index d380256..e668464 100644 --- a/zh-CN/src/compound-types/string.md +++ b/zh-CN/src/compound-types/string.md @@ -254,4 +254,4 @@ fn main() { ``` -> 你可以在[这里](https://github.com/sunface/rust-by-practice)找到答案(在 solutions 路径下) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/string.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/compound-types/struct.md b/zh-CN/src/compound-types/struct.md index 51458b1..f75a771 100644 --- a/zh-CN/src/compound-types/struct.md +++ b/zh-CN/src/compound-types/struct.md @@ -218,4 +218,4 @@ fn main() { ``` -> 你可以在[这里](https://github.com/sunface/rust-by-practice)找到答案(在 solutions 路径下) +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/struct.md)找到答案(在 solutions 路径下) diff --git a/zh-CN/src/compound-types/tuple.md b/zh-CN/src/compound-types/tuple.md index ad8d6bf..484a8e8 100644 --- a/zh-CN/src/compound-types/tuple.md +++ b/zh-CN/src/compound-types/tuple.md @@ -77,4 +77,4 @@ fn sum_multiply(nums: (i32, i32)) -> (i32, i32) { ``` -> 你可以在[这里](https://github.com/sunface/rust-by-practice)找到答案(在 solutions 路径下) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/tuple.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/flow-control.md b/zh-CN/src/flow-control.md index 555fcd8..ef049ae 100644 --- a/zh-CN/src/flow-control.md +++ b/zh-CN/src/flow-control.md @@ -242,4 +242,4 @@ fn main() { } ``` -> 你可以在[这里](https://github.com/sunface/rust-by-practice)找到答案(在 solutions 路径下) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/flow-control.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/generics-traits/generics.md b/zh-CN/src/generics-traits/generics.md index cf95429..a47f4c0 100644 --- a/zh-CN/src/generics-traits/generics.md +++ b/zh-CN/src/generics-traits/generics.md @@ -142,5 +142,5 @@ fn main() { } ``` -> 你可以在[这里](https://github.com/sunface/rust-by-practice)找到答案(在 solutions 路径下) +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/generics.md)找到答案(在 solutions 路径下) diff --git a/zh-CN/src/method.md b/zh-CN/src/method.md index 87f44ac..5902f1d 100644 --- a/zh-CN/src/method.md +++ b/zh-CN/src/method.md @@ -258,4 +258,4 @@ fn main() { @todo -> 你可以在[这里](https://github.com/sunface/rust-by-practice)找到答案(在 solutions 路径下) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/method.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/ownership/borrowing.md b/zh-CN/src/ownership/borrowing.md index aee9771..bbf9854 100644 --- a/zh-CN/src/ownership/borrowing.md +++ b/zh-CN/src/ownership/borrowing.md @@ -167,4 +167,4 @@ fn main() { } ``` -> 你可以在[这里](https://github.com/sunface/rust-by-practice)找到答案(在 solutions 路径下) +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/ownership/borrowing.md)找到答案(在 solutions 路径下) diff --git a/zh-CN/src/pattern-match/match-iflet.md b/zh-CN/src/pattern-match/match-iflet.md index 922e4b3..d37e931 100644 --- a/zh-CN/src/pattern-match/match-iflet.md +++ b/zh-CN/src/pattern-match/match-iflet.md @@ -194,4 +194,4 @@ fn main() { } ``` -> 你可以在[这里](https://github.com/sunface/rust-by-practice)找到答案(在 solutions 路径下) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/pattern-match/match-iflet.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/pattern-match/patterns.md b/zh-CN/src/pattern-match/patterns.md index e9ef131..8df1658 100644 --- a/zh-CN/src/pattern-match/patterns.md +++ b/zh-CN/src/pattern-match/patterns.md @@ -112,4 +112,4 @@ fn main() { } ```` -> 你可以在[这里](https://github.com/sunface/rust-by-practice)找到答案(在 solutions 路径下) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/pattern-match/patterns.md)找到答案(在 solutions 路径下) \ No newline at end of file