diff --git a/content/go-assembly.md b/content/go-assembly.md index 7285782..281ce92 100644 --- a/content/go-assembly.md +++ b/content/go-assembly.md @@ -205,7 +205,7 @@ call label | 调用函数,并将返回地址入栈 ret | 从栈中弹出返回地址,并跳转至该返回地址 leave | 恢复调用者者栈指针 -{{< hint info >}} +{{< hint warning >}} **注意:** 以上指令分类并不规范和完整,比如 `call` , `ret` 都可以算作无条件跳转指令,这里面是按照功能放在函数调用这一分类了。 diff --git a/content/type/array.md b/content/type/array.md index 0566aaa..9d992cd 100644 --- a/content/type/array.md +++ b/content/type/array.md @@ -17,10 +17,10 @@ arr3 := [3]int{2: 3} // 使用[n]T方式 arr4 := [...]int{2: 3} // 使用[...]T方式 ``` -{{< hint info >}} +{{< hint warning >}} **注意:** -上面代码中arr3和arr4的初始化方式是指定数组索引对应的值。这种方式并不常见。 +上面代码中 `arr3` 和 `arr4` 的初始化方式是指定数组索引对应的值。实际使用中这种方式并不常见。 {{< /hint >}} ## 可比较性 diff --git a/content/type/string.md b/content/type/string.md index 5e9d0b3..c2d9794 100644 --- a/content/type/string.md +++ b/content/type/string.md @@ -201,7 +201,7 @@ func (b *Buffer) String() string { } ``` -{{< hint info >}} +{{< hint warning >}} **注意:** bytes.Buffer是可以复用的。当进行reset时候,并不会销毁内存缓冲。 diff --git a/public/404.html b/public/404.html index 4c45cc2..857067d 100644 --- a/public/404.html +++ b/public/404.html @@ -16,7 +16,7 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +