all: minor tweaks

Fix a typo in legacy_enum.go.
Rename package in ancient legacy proto so that it doesn't confuse
tooling that assume that the package and directory names match.

Change-Id: I0b896045e74b0a7f998d3e5693b853eb3aa3839c
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/214182
Reviewed-by: Joe Tsai <joetsai@google.com>
This commit is contained in:
Joe Tsai 2020-01-12 01:16:16 -08:00 committed by Joe Tsai
parent 94e730bc38
commit 1c8015fff5
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICEqNSE file.
// license that can be found in the LICENSE file.
package impl

View File

@ -3,7 +3,7 @@
// DO NOT EDIT!
/*
Package google_golang_org_protobuf_internal_testprotos_legacy_proto2_20160225_2fc053c5 is a generated protocol buffer package.
Package proto2_20160225_2fc053c5 is a generated protocol buffer package.
It is generated from these files:
proto2_20160225_2fc053c5/test.proto
@ -12,7 +12,7 @@ It has these top-level messages:
SiblingMessage
Message
*/
package google_golang_org_protobuf_internal_testprotos_legacy_proto2_20160225_2fc053c5
package proto2_20160225_2fc053c5
import proto "google.golang.org/protobuf/internal/protolegacy"
import fmt "fmt"

View File

@ -3,7 +3,7 @@
// DO NOT EDIT!
/*
Package google_golang_org_protobuf_internal_testprotos_legacy_proto3_20160225_2fc053c5 is a generated protocol buffer package.
Package proto3_20160225_2fc053c5 is a generated protocol buffer package.
It is generated from these files:
proto3_20160225_2fc053c5/test.proto
@ -12,7 +12,7 @@ It has these top-level messages:
SiblingMessage
Message
*/
package google_golang_org_protobuf_internal_testprotos_legacy_proto3_20160225_2fc053c5
package proto3_20160225_2fc053c5
import proto "google.golang.org/protobuf/internal/protolegacy"
import fmt "fmt"