mirror of
https://github.com/golang/go
synced 2024-11-20 02:44:39 -07:00
3ee9df799f
If a method called by fmt triggers a panic, the output usually says so. However, there is heretofore undocumented special treatment for a panic caused by formatting a nil value with an Error or String method: the output is simply "<nil>". Document that behavior. Change-Id: Id0f79dd0b3487f9d1c74a0856727bba5cc342be4 Reviewed-on: https://go-review.googlesource.com/6410 Reviewed-by: David Crawshaw <crawshaw@golang.org> |
||
---|---|---|
.. | ||
doc.go | ||
export_test.go | ||
fmt_test.go | ||
format.go | ||
print.go | ||
scan_test.go | ||
scan.go | ||
stringer_test.go |