Skip to content

Commit 7477f99

Browse files
authored
Updated diagram to show srcHigh and destLow are the same
1 parent ed0b773 commit 7477f99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/Sort.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,8 @@ internal func _merge<Element>(
401401
// `x` is uninitialized memory:
402402
//
403403
// Storage: [4, 4, 7, 8, 9, 16, x, x, x, x, x]
404-
// ^ ^ ^
405-
// srcHigh destLow destHigh (past the end)
404+
// ^ ^
405+
// srcHigh/destLow destHigh (past the end)
406406
//
407407
// Buffer: [8, 8, 10, 12, 15, x, ...]
408408
// ^ ^

0 commit comments

Comments
 (0)