Skip to content

Commit

Permalink
Update ch5-09.md
Browse files Browse the repository at this point in the history
翻译问题
  • Loading branch information
StudentWeis authored Oct 8, 2022
1 parent 9490a53 commit a1ad719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch5/ch5-09.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ default:
}
```

断言函数必须满足的前置条件是明智的做法,但这很容易被滥用。除非你能提供更多的错误信息,或者能更快速的发现错误,否则不需要使用断言,编译器在运行时会帮你检查代码
断言函数必须满足的前置条件是明智的做法,但这很容易被滥用。除非你能提供更多的错误信息,或者能更快速的发现错误,否则不需要断言那些运行时会检查的条件

```Go
func Reset(x *Buffer) {
Expand Down

0 comments on commit a1ad719

Please sign in to comment.