From 5ea807348a90e87fe2b95938892c094dab26ed65 Mon Sep 17 00:00:00 2001 From: "Mr.zhang" Date: Thu, 30 Dec 2021 20:27:37 +0800 Subject: [PATCH] Update variable.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 错别字 --- book-contents/basic/variable.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book-contents/basic/variable.md b/book-contents/basic/variable.md index 588b779b..257b9a62 100644 --- a/book-contents/basic/variable.md +++ b/book-contents/basic/variable.md @@ -195,6 +195,6 @@ error[E0308]: mismatched types error: aborting due to previous error ``` -显然,Rust对类型的要求很严格,不允许讲字符串类型赋值给整数类型`usize`,`usize`是一种cpu相关的整数类型,在[数值类型](./base-type/numbers#整数类型)有详细介绍. +显然,Rust对类型的要求很严格,不允许将字符串类型赋值给整数类型`usize`,`usize`是一种cpu相关的整数类型,在[数值类型](./base-type/numbers#整数类型)有详细介绍. 万事开头难,到目前为止,都进展很顺序,那下面开始,咱们正式进入Rust的类型世界,看看有哪些挑战在前面等着大家。