Commit 10f7f80f authored by Christopher Wedgwood's avatar Christopher Wedgwood Committed by Russ Cox

json: update documentation to match current coding style

R=rsc
CC=golang-dev
https://golang.org/cl/888045
parent c9293f0c
......@@ -236,13 +236,13 @@ func (b *structBuilder) Key(k string) Builder {
// For example, given these definitions:
//
// type Email struct {
// Where string;
// Addr string;
// Where string
// Addr string
// }
//
// type Result struct {
// Name string;
// Phone string;
// Name string
// Phone string
// Email []Email
// }
//
......@@ -272,8 +272,8 @@ func (b *structBuilder) Key(k string) Builder {
// "phone", // no phone given
// []Email{
// Email{ "home", "gre@example.com" },
// Email{ "work", "gre@work.com" }
// }
// Email{ "work", "gre@work.com" },
// },
// }
//
// Note that the field r.Phone has not been modified and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment