Skip to content

Commit

Permalink
Fix typos in deprecation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
gjcairo authored and thomasvl committed Jul 9, 2024
1 parent 4668914 commit 711179a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SwiftProtobufPluginLibrary/Descriptor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ public final class Descriptor {

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

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

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

0 comments on commit 711179a

Please sign in to comment.