Pārlūkot izejas kodu

protoc-gen-go/generator: fix misspelling (#732)

Change-Id: I908a183499bc539b722f7f32ae83f6662ea729aa
Cherry-Pick: github.com/golang/protobuf@7be3631955993a734965532f776bad7093f6fc9d
Original-Author: Cyrille Hemidy <cyrille.hemidy@gmail.com>
Reviewed-on: https://go-review.googlesource.com/c/151425
Reviewed-by: Damien Neil <dneil@google.com>
Joe Tsai 7 gadi atpakaļ
vecāks
revīzija
81a81aa298
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      protoc-gen-go/generator/generator.go

+ 1 - 1
protoc-gen-go/generator/generator.go

@@ -1782,7 +1782,7 @@ func (g *Generator) defaultConstantName(goMessageType, protoFieldName string) st
 // oneofField - field containing list of subfields:
 // oneofField - field containing list of subfields:
 // - oneofSubField - a field within the oneof
 // - oneofSubField - a field within the oneof
 
 
-// msgCtx contais the context for the generator functions.
+// msgCtx contains the context for the generator functions.
 type msgCtx struct {
 type msgCtx struct {
 	goName  string      // Go struct name of the message, e.g. MessageName
 	goName  string      // Go struct name of the message, e.g. MessageName
 	message *Descriptor // The descriptor for the message
 	message *Descriptor // The descriptor for the message