Skip to content

Commit f97b6a5

Browse files
authored
Merge pull request #1630 from lakvo/main
修复basic/base-type/index.md的bool类型的说法不严谨的问题
2 parents 7fee933 + 95fff79 commit f97b6a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/basic/base-type/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Rust 每个值都有其确切的数据类型,总的来说可以分为两类:
1414
1515
- **字符串切片**`&str`
1616

17-
- **布尔类型**`true``false`
17+
- **布尔类型**`bool`,其值有且仅有`true``false`
1818

1919
- **字符类型**`char` 表示单个 Unicode 字符(存储为 4 字节),如 `'A'`, `'中'`, `'😻'`
2020

0 commit comments

Comments
 (0)