Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1334)

Unified Diff: src/pkg/encoding/gob/encode.go

Issue 11699043: code review 11699043: all: be more idiomatic when documenting boolean return ... (Closed)
Patch Set: diff -r 677f1dc462af https://code.google.com/p/go/ Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/pkg/encoding/gob/encode.go
===================================================================
--- a/src/pkg/encoding/gob/encode.go
+++ b/src/pkg/encoding/gob/encode.go
@@ -474,7 +474,7 @@
enc.freeEncoderState(state)
}
-// isZero returns whether the value is the zero of its type.
+// isZero reports whether the value is the zero of its type.
func isZero(val reflect.Value) bool {
switch val.Kind() {
case reflect.Array:

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b