修正半角标点符号

This commit is contained in:
kimw
2018-05-27 16:51:15 -04:00
parent fb3359fb4e
commit 0ab7557665
39 changed files with 85 additions and 86 deletions

View File

@@ -29,7 +29,7 @@ if b {
}
```
如果需要经常做类似的转换, 包装成一个函数会更方便:
如果需要经常做类似的转换包装成一个函数会更方便
```Go
// btoi returns 1 if b is true and 0 if false.
@@ -41,7 +41,7 @@ func btoi(b bool) int {
}
```
数字到布尔型的逆转换则非常简单, 不过为了保持对称, 我们也可以包装一个函数:
数字到布尔型的逆转换则非常简单不过为了保持对称我们也可以包装一个函数
```Go
// itob reports whether i is non-zero.