File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
DiffableTextStylesXWrapper Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 1111// MARK: * Void
1212//* ============================================================================*
1313
14- public struct _Void : Hashable , Comparable {
14+ public struct _Void : Hashable {
1515
1616 //=------------------------------------------------------------------------=
1717 // MARK: Initializers
1818 //=------------------------------------------------------------------------=
1919
2020 @inlinable @inline ( __always) public init ( ) { }
21-
22- //=------------------------------------------------------------------------=
23- // MARK: Comparisons
24- //=------------------------------------------------------------------------=
25-
26- @inlinable @inline ( __always) public static func < ( lhs: Self , rhs: Self ) -> Bool { false }
2721}
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ extension DiffableTextStyle {
5656 // MARK: Aliases
5757 //=------------------------------------------------------------------------=
5858
59+ public typealias EqualsVoid = EqualsTextStyle < Self , _Void >
5960 public typealias Equals < Proxy: Equatable > = EqualsTextStyle < Self , Proxy >
6061
6162 //=------------------------------------------------------------------------=
@@ -64,7 +65,7 @@ extension DiffableTextStyle {
6465
6566 /// Binds the style's comparison result to the proxy value.
6667 @inlinable @inline ( __always)
67- public func equals( _ proxy: Void ) -> Equals < _Void > {
68+ public func equals( _ proxy: Void ) -> EqualsVoid {
6869 Equals ( self , proxy: _Void ( ) )
6970 }
7071
You can’t perform that action at this time.
0 commit comments