Skip to content

Commit

Permalink
Update SortEnum.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
rismay committed Jun 28, 2024
1 parent fdcbd71 commit ee055b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/WrkstrmMain/CustomCollections/Enums/SortEnum.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public struct Sort<Type> {
}

/// A convinience comparator combinator given an array of simple comparators.
@_specialize(where Type:_NativeClass)
@_specialize(where Type: _NativeClass)
public static func by(_ comparators: [Comparator]) -> Comparator {
{
for comparator in comparators {
Expand All @@ -58,7 +58,7 @@ public struct Sort<Type> {

/// A sort struct combinator. Takes in a sequence of Sort structs and returns one comparator
/// function.
@_specialize(where Type:_NativeClass)
@_specialize(where Type: _NativeClass)
public static func by(_ comparators: Sort<Type>...) -> Comparator {
{
for order in comparators {
Expand All @@ -71,7 +71,7 @@ public struct Sort<Type> {

/// A sort struct combinator. Takes in an array of Sort structs and returns one comparator
/// function.
@_specialize(where Type:_NativeClass)
@_specialize(where Type: _NativeClass)
public static func by(_ comparators: [Sort<Type>]) -> Comparator {
{
for order in comparators {
Expand Down

0 comments on commit ee055b7

Please sign in to comment.