summaryrefslogtreecommitdiff
path: root/src/pkg/gob/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/gob/debug.go')
-rw-r--r--src/pkg/gob/debug.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/gob/debug.go b/src/pkg/gob/debug.go
index ce8a6ff5e..16c2194eb 100644
--- a/src/pkg/gob/debug.go
+++ b/src/pkg/gob/debug.go
@@ -154,6 +154,7 @@ func (deb *debugger) dump(format string, args ...interface{}) {
}
// Debug prints a human-readable representation of the gob data read from r.
+// It is a no-op unless debugging was enabled when the package was built.
func Debug(r io.Reader) {
err := debug(r)
if err != nil {