From 60e9f879a3744e8379ec1c68ff865e70d5f84ef6 Mon Sep 17 00:00:00 2001 From: Damien Neil Date: Thu, 3 Jan 2019 09:57:32 -0800 Subject: [PATCH] cmd/protoc-gen-go: remove stale comment Change-Id: I88c5536c29602206657cbeab81347c872732da56 Reviewed-on: https://go-review.googlesource.com/c/156198 Reviewed-by: Joe Tsai --- cmd/protoc-gen-go/internal_gengo/main.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/protoc-gen-go/internal_gengo/main.go b/cmd/protoc-gen-go/internal_gengo/main.go index 2f8baf08..08a7660b 100644 --- a/cmd/protoc-gen-go/internal_gengo/main.go +++ b/cmd/protoc-gen-go/internal_gengo/main.go @@ -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.")