Skip to content

Commit 95fff79

Browse files
authored
更新 index.md,之前忘记给bool加代码块样式了
1 parent ccc5a48 commit 95fff79

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-
- **布尔类型**:bool,其值有且仅有`true``false`
17+
- **布尔类型**`bool`,其值有且仅有`true``false`
1818

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

0 commit comments

Comments
 (0)