From 38c2631209c1d9aaae09ffe8167be4a000f2455a Mon Sep 17 00:00:00 2001 From: LyntNy4n <49772385+LyntNy4n@users.noreply.github.com> Date: Sat, 18 Dec 2021 10:47:32 +0800 Subject: [PATCH] Update index.md --- src/basic/base-type/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/base-type/index.md b/src/basic/base-type/index.md index a00687b8..a369f556 100644 --- a/src/basic/base-type/index.md +++ b/src/basic/base-type/index.md @@ -19,7 +19,7 @@ Rust每个值都有其确切的数据类型, 总的来说可以分为两类: let guess = "42".parse().expect("Not a number!"); ``` -让我们先忽悠`.parse().expect..`部分,总之,这段代码将字符串`"42"`进行解析,但是我们没有标注想要解析的类型,因此编译器会报错: +让我们先忽略`.parse().expect..`部分,总之,这段代码将字符串`"42"`进行解析,但是我们没有标注想要解析的类型,因此编译器会报错: ```console $ cargo build Compiling no_type_annotations v0.1.0 (file:///projects/no_type_annotations)