From be07486f1d5fd2554dfbf0d6169348dc61c0f5ae Mon Sep 17 00:00:00 2001 From: Fanyjie Date: Sun, 27 Feb 2022 22:01:47 +0800 Subject: [PATCH] fix wrong link update #484 wrong link --- contents/practice/naming.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contents/practice/naming.md b/contents/practice/naming.md index 8346a30a..f68d4eb9 100644 --- a/contents/practice/naming.md +++ b/contents/practice/naming.md @@ -167,7 +167,7 @@ fn into_iter(self) -> IntoIter // IntoIter implements Iterator 上述规则主要应用于方法,但是经常对于函数也适用。例如上文提到的 `url` 包中的 [`percent_encode`] 函数,返回了一个 [`PercentEncode`] 类型。 -[PercentEncode]: https://docs.rs/url/1.4.0/url/percent_encoding/struct.PercentEncode.html +[`PercentEncode`]: https://docs.rs/url/1.4.0/url/percent_encoding/struct.PercentEncode.html 特别是,当这些类型跟包名前缀一起使用时,将具备非常清晰的含义,例如 [`vec::IntoIter`]。