Skip to content

Commit 711179a

Browse files
gjcairothomasvl
authored andcommitted
Fix typos in deprecation messages
1 parent 4668914 commit 711179a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftProtobufPluginLibrary/Descriptor.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ public final class Descriptor {
510510

511511
/// The extension ranges declared for this message. They are returned in
512512
/// the order they are defined in the .proto file.
513-
@available(*, deprecated, message: "This property is now deprecated: please use protoExtensionRanges instead.")
513+
@available(*, deprecated, message: "This property is now deprecated: please use proto.extensionRange instead.")
514514
public var extensionRanges: [Google_Protobuf_DescriptorProto.ExtensionRange] {
515515
proto.extensionRange
516516
}
@@ -576,7 +576,7 @@ public final class Descriptor {
576576
public let reservedNames: [String]
577577

578578
/// True/False if this Message is just for a `map<>` entry.
579-
@available(*, deprecated, renamed: "options.mapyEntry")
579+
@available(*, deprecated, renamed: "options.mapEntry")
580580
public var isMapEntry: Bool { return options.mapEntry }
581581

582582
/// Returns the `FieldDescriptor`s for the "key" and "value" fields. If

0 commit comments

Comments
 (0)