From 796a5743667672dce89d36d16a3cad3e530a8c92 Mon Sep 17 00:00:00 2001 From: Orefa Date: Sat, 28 Aug 2021 21:26:18 +0800 Subject: [PATCH] fix anchor --- src/ch19-04-advanced-types.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ch19-04-advanced-types.md b/src/ch19-04-advanced-types.md index b2107e4..ec0df0b 100644 --- a/src/ch19-04-advanced-types.md +++ b/src/ch19-04-advanced-types.md @@ -235,10 +235,10 @@ fn generic(t: &T) { 接下来,让我们讨论一下函数和闭包! [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 [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]: -ch17-02-trait-objects.html#using-trait-objects-that-allow-for-values-of-different-types -[using-the-newtype-pattern]: ch19-03-advanced-traits.html#using-the-newtype-pattern-to-implement-external-traits-on-external-types +ch17-02-trait-objects.html#为使用不同类型的值而设计的-trait-对象 +[using-the-newtype-pattern]: ch19-03-advanced-traits.html#newtype-模式用以在外部类型上实现外部-trait