mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 11:58:21 +00:00
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:
parent
4d5be764fb
commit
90042a5531
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user