Explorar o código

Merge pull request #21 from mattes/patch-1

Fix trivial documentation typo.
Gustavo Niemeyer %!s(int64=12) %!d(string=hai) anos
pai
achega
9f9df34309
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      yaml.go

+ 1 - 1
yaml.go

@@ -75,7 +75,7 @@ type Getter interface {
 //         F int `yaml:"a,omitempty"`
 //         B int
 //     }
-//     var T t
+//     var t T
 //     yaml.Unmarshal([]byte("a: 1\nb: 2"), &t)
 //
 // See the documentation of Marshal for the format of tags and a list of