reflect/protoreflect: fix typo in FieldDescriptor.HasOptionalKeyword

Change-Id: I9b1dac5d10bbac4618bda174ef04135b81c81d7e
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/231777
Reviewed-by: Damien Neil <dneil@google.com>
This commit is contained in:
Joe Tsai 2020-05-03 18:06:40 -07:00 committed by Joe Tsai
parent 4d5be764fb
commit 90042a5531

View File

@ -291,7 +291,7 @@ type FieldDescriptor interface {
IsExtension() bool
// HasOptionalKeyword reports whether the "optional" keyword was explicitly
// specific in the source .proto file.
// specified in the source .proto file.
HasOptionalKeyword() bool
// IsWeak reports whether this is a weak field, which does not impose a