修改部分描述,添加必要的标点符号,补充代码超链接 (#804)

This commit is contained in:
Jck
2021-10-25 23:34:42 +08:00
committed by GitHub
parent d5578df00a
commit 39dbdb7094
100 changed files with 433 additions and 414 deletions

View File

@@ -4,7 +4,7 @@
我们使用第 10.4 节中程序的类型来进行测试:
示例 10.22 method_string.go
示例 10.22 [method_string.go](examples/chapter_10/method_string.go)
```go
package main
@@ -88,7 +88,7 @@ type T struct {
![](images/10.7_fig.jpg?raw=true)
它的格子包含数据,比如整数 i、j、k 和 l 等等,格子从底部(索引 0至顶部索引 n来索引。这个例子中假定 `n=3`,那么一共有 4 个格子。
它的格子包含数据,比如整数 i、j、k 和 l 等等,格子从底部(索引 0至顶部索引 n来索引。这个例子中假定 `n = 3`,那么一共有 4 个格子。
一个新栈中所有格子的值都是 0。