Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw authored and github-actions[bot] committed Nov 9, 2023
1 parent 178b021 commit 4f9df4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import OrderedCollections
func areOrderedSetsDuplicates<T>(_ lhs: OrderedSet<T>, _ rhs: OrderedSet<T>) -> Bool {
guard lhs.count == rhs.count
else { return false }

return withUnsafePointer(to: lhs) { lhsPointer in
withUnsafePointer(to: rhs) { rhsPointer in
memcmp(lhsPointer, rhsPointer, MemoryLayout<OrderedSet<T>>.size) == 0 || lhs == rhs
Expand Down

0 comments on commit 4f9df4d

Please sign in to comment.