We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee5ae18 + 0269930 commit 9772999Copy full SHA for 9772999
stdlib/public/core/StringComparison.swift
@@ -33,10 +33,10 @@ internal func _stringCompareWithSmolCheck(
33
34
if lhsRaw.0 != rhsRaw.0 {
35
return _lexicographicalCompare(
36
- lhsRaw.0.byteSwapped, rhsRaw.0.byteSwapped, expecting: expecting)
+ lhsRaw.0.bigEndian, rhsRaw.0.bigEndian, expecting: expecting)
37
}
38
39
- lhsRaw.1.byteSwapped, rhsRaw.1.byteSwapped, expecting: expecting)
+ lhsRaw.1.bigEndian, rhsRaw.1.bigEndian, expecting: expecting)
40
41
42
return _stringCompareInternal(lhs, rhs, expecting: expecting)
0 commit comments