From 2f802ab94029c07e024f0ff5575e1f1523c11a18 Mon Sep 17 00:00:00 2001 From: AllenYu Date: Thu, 10 Feb 2022 09:09:14 +0800 Subject: [PATCH] delete redundant space --- book/contents/basic/trait/trait-object.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/contents/basic/trait/trait-object.md b/book/contents/basic/trait/trait-object.md index 51caa131..5037db10 100644 --- a/book/contents/basic/trait/trait-object.md +++ b/book/contents/basic/trait/trait-object.md @@ -265,7 +265,7 @@ help: function arguments must have a statically known size, borrowed types alway 在 Rust 中,有两个`self`,一个指代当前的实例对象,一个指代特征或者方法类型的别名: ```rust trait Draw { - fn draw(&self) -> Self; + fn draw(&self) -> Self; } #[derive(Clone)]