Skip to content

Commit

Permalink
Fix comment error.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 609830695
  • Loading branch information
thomasvl authored and copybara-github committed Feb 23, 2024
1 parent f12f279 commit baaf402
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/google/protobuf/descriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_; }

Expand Down

0 comments on commit baaf402

Please sign in to comment.