From 15761de7aad97b3b95ebdba9bddcb829f0e7b033 Mon Sep 17 00:00:00 2001 From: Weiqi Wu Date: Tue, 19 Apr 2022 10:13:38 +0800 Subject: [PATCH] fix: typo --- src/basic/trait/trait-object.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/trait/trait-object.md b/src/basic/trait/trait-object.md index b52fef95..3bddb664 100644 --- a/src/basic/trait/trait-object.md +++ b/src/basic/trait/trait-object.md @@ -110,7 +110,7 @@ pub struct Screen { 可以通过 `&` 引用或者 `Box` 智能指针的方式来创建特征对象。 -> `Boxt` 在后面章节会[详细讲解](https://course.rs/advance/smart-pointer/box.html),大家现在把它当成一个引用即可,只不过它包裹的值会被强制分配在堆上 +> `Box` 在后面章节会[详细讲解](https://course.rs/advance/smart-pointer/box.html),大家现在把它当成一个引用即可,只不过它包裹的值会被强制分配在堆上 ```rust