modify reason: wrong double quotes format (#356)

This commit is contained in:
markcheney1
2017-05-29 13:35:47 -05:00
committed by 无闻
parent 74555661da
commit cecf2b19b1
2 changed files with 7 additions and 7 deletions

View File

@@ -11,13 +11,13 @@
```go
func protect(g func()) {
defer func() {
log.Println(done)
log.Println("done")
// Println executes normally even if there is a panic
if err := recover(); err != nil {
log.Printf(run time panic: %v, err)
log.Printf("run time panic: %v", err)
}
}()
log.Println(start)
log.Println("start")
g() // possible runtime-error
}
```