Skip to content

Commit ef712c4

Browse files
authored
Remove deprecated API (#37)
1 parent ce1faa4 commit ef712c4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Sources/SwiftASN1/Basic ASN1 Types/PEMDocument.swift

-6
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,6 @@ extension PEMSerializable {
118118
public struct PEMDocument: Hashable, Sendable {
119119
fileprivate static let lineLength = 64
120120

121-
@available(*, deprecated, renamed: "discriminator")
122-
public var type: String {
123-
get { discriminator }
124-
set { discriminator = newValue }
125-
}
126-
127121
/// The PEM discriminator is in the first line of a PEM string after `BEGIN` and at the end of the string after `END` e.g.
128122
/// ```
129123
/// -----BEGIN discriminator-----

0 commit comments

Comments
 (0)