Fix incorrect documentation.

(Left over from copy-and-paste from Go's JSON encoder/decode doc.)
This commit is contained in:
Jack Palevich 2012-09-15 19:56:53 -07:00
parent 5c36da2622
commit 25c99088bf
1 changed files with 2 additions and 3 deletions

View File

@ -490,9 +490,8 @@ func isValueNil(val reflect.Value) bool {
// Struct values encode as bencode maps. Each exported struct field
// becomes a member of the object.
// The object's default key string is the struct field name
// but can be specified in the struct field's tag value. The "json" key in
// the struct field's tag value is the key name, followed by an optional comma
// and options. Examples:
// but can be specified in the struct field's tag value. The text of
// the struct field's tag value is the key name. Examples:
//
// // Field appears in bencode as key "Field".
// Field int