Skip to content

Commit 895bc7e

Browse files
authored
Adopt primary associated types to FormatStyle (#1024)
1 parent a0147ac commit 895bc7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/FoundationEssentials/Formatting/FormatStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/// A type that can convert a given data type into a representation.
1414
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
15-
public protocol FormatStyle : Codable, Hashable {
15+
public protocol FormatStyle<FormatInput, FormatOutput> : Codable, Hashable {
1616

1717
/// The type of data to format.
1818
associatedtype FormatInput

0 commit comments

Comments
 (0)