Skip to content

Commit ecfb6c9

Browse files
Lance Parkermilseman
Lance Parker
authored andcommitted
Fix indentation (#21)
* Ditched the simple/complex test distinction as they all pass now * fixed indentation
1 parent 7cc222e commit ecfb6c9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

stdlib/public/core/StringComparison.swift

+7-7
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ func _compareUnicode(
2424
let left = _StringGuts(rawBits: lhs)
2525
let right = _StringGuts(rawBits: rhs)
2626

27-
if _slowPath(!left._isContiguous || !right._isContiguous) {
28-
if !left._isContiguous {
29-
return left._asOpaque()._compareOpaque(right).rawValue
30-
} else {
31-
return right._asOpaque()._compareOpaque(left).flipped.rawValue
32-
}
33-
}
27+
if _slowPath(!left._isContiguous || !right._isContiguous) {
28+
if !left._isContiguous {
29+
return left._asOpaque()._compareOpaque(right).rawValue
30+
} else {
31+
return right._asOpaque()._compareOpaque(left).flipped.rawValue
32+
}
33+
}
3434

3535
return left._compareContiguous(right)
3636
}

0 commit comments

Comments
 (0)