Update ch5-09.md

翻译问题
pull/131/head
HengYi Wei 2022-10-08 13:57:32 +08:00 committed by GitHub
parent 9490a5390d
commit a1ad719a03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ default:
}
```
断言函数必须满足的前置条件是明智的做法,但这很容易被滥用。除非你能提供更多的错误信息,或者能更快速的发现错误,否则不需要使用断言,编译器在运行时会帮你检查代码
断言函数必须满足的前置条件是明智的做法,但这很容易被滥用。除非你能提供更多的错误信息,或者能更快速的发现错误,否则不需要断言那些运行时会检查的条件
```Go
func Reset(x *Buffer) {