Преглед изворни кода

Trivial documentation fix.

Gustavo Niemeyer пре 11 година
родитељ
комит
79f5ef7c40
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      yaml.go

+ 1 - 1
yaml.go

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