diff --git a/zh-CN/src/collections/String.md b/zh-CN/src/collections/String.md index 774a5a8..20e254e 100644 --- a/zh-CN/src/collections/String.md +++ b/zh-CN/src/collections/String.md @@ -201,7 +201,7 @@ fn main() { ``` -### 常用方法 +### 常用方法(TODO) 关于 String 的常用方法练习,可以查看[这里](../std/String.md). -> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/collections/String.md)(under the solutions path), but only use it when you need it \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/collections/String.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/collections/hashmap.md b/zh-CN/src/collections/hashmap.md index 0f9aa79..296103c 100644 --- a/zh-CN/src/collections/hashmap.md +++ b/zh-CN/src/collections/hashmap.md @@ -220,4 +220,4 @@ hash.insert(42, "the answer"); assert_eq!(hash.get(&42), Some(&"the answer")); ``` -> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/collections/Hashmap.md)(under the solutions path), but only use it when you need it +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/collections/Hashmap.md)找到答案(在 solutions 路径下) diff --git a/zh-CN/src/collections/vector.md b/zh-CN/src/collections/vector.md index 691708e..f2a833a 100644 --- a/zh-CN/src/collections/vector.md +++ b/zh-CN/src/collections/vector.md @@ -245,4 +245,4 @@ fn main() { } ``` -> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/collections/Vector.md)(under the solutions path), but only use it when you need it \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/collections/Vector.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/crate-module/crate.md b/zh-CN/src/crate-module/crate.md index 7bcfab2..1c6930b 100644 --- a/zh-CN/src/crate-module/crate.md +++ b/zh-CN/src/crate-module/crate.md @@ -108,4 +108,4 @@ edition = "2021" 可以看到,上面的 package 结构非常标准,你可以在很多 Rust 项目中看到该结构的身影。 -> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/crate-module/crate.md) (under the solutions path), but only use it when you need it :) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/crate-module/crate.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/crate-module/module.md b/zh-CN/src/crate-module/module.md index 06f14b5..608097a 100644 --- a/zh-CN/src/crate-module/module.md +++ b/zh-CN/src/crate-module/module.md @@ -192,4 +192,4 @@ fn main() { } ``` -> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/crate-module/module.md) (under the solutions path), but only use it when you need it :) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/crate-module/module.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/crate-module/use-pub.md b/zh-CN/src/crate-module/use-pub.md index e4b6cf8..59f396c 100644 --- a/zh-CN/src/crate-module/use-pub.md +++ b/zh-CN/src/crate-module/use-pub.md @@ -67,4 +67,4 @@ pub mod a { 至此,包与模块章节已经结束,关于 `hello-package` 的完整代码可以在[这里](https://github.com/sunface/rust-by-practice/tree/master/practices/hello-package) 找到. -> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/crate-module/use-pub.md) (under the solutions path), but only use it when you need it :) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/crate-module/use-pub.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/generics-traits/advanced-traits.md b/zh-CN/src/generics-traits/advanced-traits.md index 9ca8cca..d402b0a 100644 --- a/zh-CN/src/generics-traits/advanced-traits.md +++ b/zh-CN/src/generics-traits/advanced-traits.md @@ -268,4 +268,4 @@ fn main() { } ``` -> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/advanced-trait.md)(under the solutions path), but only use it when you need it :) +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/advanced-trait.md)找到答案(在 solutions 路径下) diff --git a/zh-CN/src/generics-traits/const-generics.md b/zh-CN/src/generics-traits/const-generics.md index f2ebe97..ea1a4a5 100644 --- a/zh-CN/src/generics-traits/const-generics.md +++ b/zh-CN/src/generics-traits/const-generics.md @@ -134,4 +134,6 @@ pub enum Assert {} pub trait IsTrue {} impl IsTrue for Assert {} -``` \ No newline at end of file +``` + +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/const-generics.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/generics-traits/trait-object.md b/zh-CN/src/generics-traits/trait-object.md index 53a0b01..aa53c40 100644 --- a/zh-CN/src/generics-traits/trait-object.md +++ b/zh-CN/src/generics-traits/trait-object.md @@ -223,4 +223,4 @@ fn main() { } ``` -> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/trait-object.md)(under the solutions path), but only use it when you need it :) \ No newline at end of file +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/trait-object.md)找到答案(在 solutions 路径下) \ No newline at end of file diff --git a/zh-CN/src/generics-traits/traits.md b/zh-CN/src/generics-traits/traits.md index e43adb0..ebe003b 100644 --- a/zh-CN/src/generics-traits/traits.md +++ b/zh-CN/src/generics-traits/traits.md @@ -467,4 +467,4 @@ fn main() { } ``` -> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/traits.md)(under the solutions path), but only use it when you need it :) +> 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/traits.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 8df1658..8e8f49b 100644 --- a/zh-CN/src/pattern-match/patterns.md +++ b/zh-CN/src/pattern-match/patterns.md @@ -110,6 +110,6 @@ fn main() { &mut value => value.push_str(" world!") } } -```` +``` > 你可以在[这里](https://github.com/sunface/rust-by-practice/blob/master/solutions/pattern-match/patterns.md)找到答案(在 solutions 路径下) \ No newline at end of file