From 1f91347d955eb7891e5499fb48d6d082161c35f1 Mon Sep 17 00:00:00 2001 From: Zonglei Dong Date: Thu, 5 May 2022 19:29:22 +0800 Subject: [PATCH] Fix content error. --- zh-CN/src/generics-traits/advanced-traits.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-CN/src/generics-traits/advanced-traits.md b/zh-CN/src/generics-traits/advanced-traits.md index 57df0c2..67daa37 100644 --- a/zh-CN/src/generics-traits/advanced-traits.md +++ b/zh-CN/src/generics-traits/advanced-traits.md @@ -9,7 +9,7 @@ pub trait CacheableItem: Clone + Default + fmt::Debug + Decodable + Encodable { } ``` -相比 `AsRef<[u8]> + Clone + fmt::Debug + Eq + Hash`, `Address` 的使用可以极大的极少其它类型在实现该特征时所需的模版代码. +相比 `AsRef<[u8]> + Clone + fmt::Debug + Eq + Hash`, `Address` 的使用可以极大的减少其它类型在实现该特征时所需的模版代码. 1. 🌟🌟🌟 ```rust,editable @@ -268,4 +268,4 @@ fn main() { } ``` -> You can find the solutions [here](https://github.com/sunface/rust-by-practice)(under the solutions path), but only use it when you need it :) \ No newline at end of file +> You can find the solutions [here](https://github.com/sunface/rust-by-practice)(under the solutions path), but only use it when you need it :)