Skip to content

Commit 34c0a5d

Browse files
committed
[Update] AnyEncodable is only accessible within the module
1 parent b4dc378 commit 34c0a5d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/RequestInfo/AnyEncodable.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88

99
import Foundation
1010

11-
public struct AnyEncodable {
11+
struct AnyEncodable {
1212
private let encodable: Encodable
1313

14-
public init(_ encodable: Encodable) {
14+
init(_ encodable: Encodable) {
1515
self.encodable = encodable
1616
}
1717
}
1818

1919
// MARK: - Encodable
2020

2121
extension AnyEncodable: Encodable {
22-
public func encode(to encoder: Encoder) throws {
22+
func encode(to encoder: Encoder) throws {
2323
try encodable.encode(to: encoder)
2424
}
2525
}

0 commit comments

Comments
 (0)