File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ extension RFC_1035.Domain.Label: UInt8.ASCII.Serializing {
113113 ///
114114 /// - Parameter bytes: The ASCII byte representation of the label
115115 /// - Throws: `RFC_1035.Domain.Label.Error` if the bytes are malformed
116- public init < Bytes: Collection > ( ascii bytes: Bytes ) throws ( Error)
116+ public init < Bytes: Collection > ( ascii bytes: Bytes , in context : Void ) throws ( Error)
117117 where Bytes. Element == UInt8 {
118118 guard let firstByte = bytes. first else {
119119 throw Error . empty
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ extension RFC_1035.Domain: UInt8.ASCII.Serializing {
117117 ///
118118 /// - Parameter bytes: The ASCII byte representation of the domain
119119 /// - Throws: `RFC_1035.Domain.Error` if the bytes are malformed
120- public init < Bytes: Collection > ( ascii bytes: Bytes ) throws ( Error) where Bytes. Element == UInt8 {
120+ public init < Bytes: Collection > ( ascii bytes: Bytes , in context : Void ) throws ( Error) where Bytes. Element == UInt8 {
121121 // Empty check
122122 guard !bytes. isEmpty else {
123123 throw Error . empty
You can’t perform that action at this time.
0 commit comments