mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-11-13 17:36:12 +08:00
s和[]int之间应该加一个空格且 "slice"不属于代码部分 (#581)
This commit is contained in:
@@ -48,7 +48,7 @@ func AppendByte(slice []byte, data ...byte) []byte {
|
|||||||
|
|
||||||
**练习 7.9**
|
**练习 7.9**
|
||||||
|
|
||||||
给定 `slice s[]int` 和一个 int 类型的因子,扩展 s 使其长度为 `len(s) * factor`。
|
给定一个slice`s []int` 和一个 int 类型的因子,扩展 s 使其长度为 `len(s) * factor`。
|
||||||
|
|
||||||
**练习 7.10**
|
**练习 7.10**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user