Merge pull request #247 from Fomalhauthmj/patch-1

fix a typo in variable.md
pull/248/head
Sunface 3 years ago committed by GitHub
commit f1a09a1607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -196,6 +196,6 @@ error[E0308]: mismatched types
error: aborting due to previous error error: aborting due to previous error
``` ```
显然Rust对类型的要求很严格不允许将字符串类型赋值给整数类型`usize``usize`是一种cpu相关的整数类型在[数值类型](./base-type/numbers#整数类型)有详细介绍. 显然Rust对类型的要求很严格不允许将整数类型`usize`赋值给字符串类型`usize`是一种cpu相关的整数类型在[数值类型](./base-type/numbers#整数类型)有详细介绍.
万事开头难到目前为止都进展很顺利那下面开始咱们正式进入Rust的类型世界看看有哪些挑战在前面等着大家。 万事开头难到目前为止都进展很顺利那下面开始咱们正式进入Rust的类型世界看看有哪些挑战在前面等着大家。

Loading…
Cancel
Save