Skip to content

Commit 8b11daf

Browse files
committed
Run swiftformat
fix-file-headers
1 parent 67dba6f commit 8b11daf

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Sources/ArgumentEncoding/Formatters.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public struct FlagFormatter: Sendable {
2121
}
2222

2323
@Sendable
24-
internal func _format(encoding: FlagEncoding) -> String {
24+
func _format(encoding: FlagEncoding) -> String {
2525
format(key: encoding.key)
2626
}
2727

@@ -61,7 +61,7 @@ public struct OptionFormatter: Sendable {
6161
prefix() + body(key) + separator() + value
6262
}
6363

64-
internal func format(encoding: OptionEncoding) -> String {
64+
func format(encoding: OptionEncoding) -> String {
6565
format(key: encoding.key, value: encoding.value)
6666
}
6767

Sources/ArgumentEncoding/Option.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public struct Option<Value>: OptionProtocol {
4141
// Different Value types will encode to arguments differently.
4242
// Using unwrap, this can be handled individually per type or collectively by protocol
4343
private let unwrap: @Sendable (Value) -> String?
44-
internal var unwrapped: String? {
44+
var unwrapped: String? {
4545
unwrap(wrappedValue)
4646
}
4747

Sources/ArgumentEncoding/OptionSet.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public struct OptionSet<Value>: OptionSetProtocol where Value: Sequence {
4343
// Different Value types will encode to arguments differently.
4444
// Using unwrap, this can be handled individually per type or collectively by protocol
4545
private let unwrap: @Sendable (Value.Element) -> String?
46-
internal var unwrapped: [String] {
46+
var unwrapped: [String] {
4747
wrappedValue.compactMap(unwrap)
4848
}
4949

Sources/ArgumentEncoding/PositionalArgument.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public struct Positional<Value>: PositionalProtocol {
2929
// Different Value types will encode to arguments differently.
3030
// Using unwrap, this can be handled individually per type or collectively by protocol
3131
private let unwrap: @Sendable (Value) -> [String]
32-
internal var unwrapped: [String] {
32+
var unwrapped: [String] {
3333
unwrap(wrappedValue)
3434
}
3535

0 commit comments

Comments
 (0)