mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-27 15:26:51 +00:00
cmd/protoc-gen-go: remove stale comment
Change-Id: I88c5536c29602206657cbeab81347c872732da56 Reviewed-on: https://go-review.googlesource.com/c/156198 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
This commit is contained in:
parent
402382e5ee
commit
60e9f879a3
@ -123,12 +123,6 @@ func GenerateFile(gen *protogen.Plugin, file *protogen.File, g *protogen.Generat
|
||||
g.P("package ", f.GoPackageName)
|
||||
g.P()
|
||||
|
||||
// These references are not necessary, since we automatically add
|
||||
// all necessary imports before formatting the generated file.
|
||||
//
|
||||
// This section exists to generate output more consistent with
|
||||
// the previous version of protoc-gen-go, to make it easier to
|
||||
// detect unintended variations.
|
||||
if !isDescriptor(file) {
|
||||
g.P("// This is a compile-time assertion to ensure that this generated file")
|
||||
g.P("// is compatible with the proto package it is being compiled against.")
|
||||
|
Loading…
Reference in New Issue
Block a user