Skip to content

Commit c15479e

Browse files
authored
Merge pull request #15 from mliberman/swift-5
Fix Swift 5 Build Warnings
2 parents 355869b + abcdd10 commit c15479e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/XMLCoding/Decoder/DecodingErrorExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Foundation
1212
// Error Utilities
1313
//===----------------------------------------------------------------------===//
1414

15-
internal extension DecodingError {
15+
extension DecodingError {
1616
/// Returns a `.typeMismatch` error describing the expected type.
1717
///
1818
/// - parameter path: The path of `CodingKey`s taken to decode a value of this type.

Sources/XMLCoding/Encoder/EncodingErrorExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Foundation
1111
//===----------------------------------------------------------------------===//
1212
// Error Utilities
1313
//===----------------------------------------------------------------------===//
14-
internal extension EncodingError {
14+
extension EncodingError {
1515
/// Returns a `.invalidValue` error describing the given invalid floating-point value.
1616
///
1717
///

0 commit comments

Comments
 (0)