ソースを参照

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