Merge pull request #537 from Orefa/patch-3

fix anchor
This commit is contained in:
KaiserY 2021-08-30 12:12:38 +08:00 committed by GitHub
commit eda4561ce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -235,10 +235,10 @@ fn generic<T: ?Sized>(t: &T) {
接下来,让我们讨论一下函数和闭包! 接下来,让我们讨论一下函数和闭包!
[encapsulation-that-hides-implementation-details]: [encapsulation-that-hides-implementation-details]:
ch17-01-what-is-oo.html#encapsulation-that-hides-implementation-details ch17-01-what-is-oo.html#封装隐藏了实现细节
[string-slices]: ch04-03-slices.html#string-slices [string-slices]: ch04-03-slices.html#string-slices
[the-match-control-flow-operator]: [the-match-control-flow-operator]:
ch06-02-match.html#the-match-control-flow-operator ch06-02-match.html#match-控制流运算符
[using-trait-objects-that-allow-for-values-of-different-types]: [using-trait-objects-that-allow-for-values-of-different-types]:
ch17-02-trait-objects.html#using-trait-objects-that-allow-for-values-of-different-types ch17-02-trait-objects.html#为使用不同类型的值而设计的-trait-对象
[using-the-newtype-pattern]: ch19-03-advanced-traits.html#using-the-newtype-pattern-to-implement-external-traits-on-external-types [using-the-newtype-pattern]: ch19-03-advanced-traits.html#newtype-模式用以在外部类型上实现外部-trait