Fix comment error.

PiperOrigin-RevId: 609830695
pull/15937/head
Thomas Van Lenten 1 year ago committed by Copybara-Service
parent f12f279be2
commit baaf402b29
  1. 4
      src/google/protobuf/descriptor.h

@ -494,11 +494,11 @@ class PROTOBUF_EXPORT Descriptor : private internal::SymbolBase {
return containing_type_->full_name();
}
// Returns the .proto file in which this oneof was defined.
// Returns the .proto file in which this range was defined.
// Never nullptr.
const FileDescriptor* file() const { return containing_type_->file(); }
// Returns the Descriptor for the message containing this oneof.
// Returns the Descriptor for the message containing this range.
// Never nullptr.
const Descriptor* containing_type() const { return containing_type_; }

Loading…
Cancel
Save