File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
stdlib/private/StdlibCollectionUnittest Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ extension LoggingMutableCollection: MutableCollection {
404
404
MutableCollectionLog . withContiguousMutableStorageIfAvailable [ selfType] += 1
405
405
let result = try base. withContiguousMutableStorageIfAvailable ( body)
406
406
if result != nil {
407
- Log . withContiguousMutableStorageIfAvailable [ selfType] += 1
407
+ Log . withContiguousMutableStorageIfAvailableNonNilReturns [ selfType] += 1
408
408
}
409
409
return result
410
410
}
@@ -618,7 +618,7 @@ extension BufferAccessLoggingMutableCollection: MutableCollection {
618
618
Log . withContiguousMutableStorageIfAvailable [ selfType] += 1
619
619
let result = try base. withContiguousMutableStorageIfAvailable ( body)
620
620
if result != nil {
621
- Log . withContiguousMutableStorageIfAvailable [ selfType] += 1
621
+ Log . withContiguousMutableStorageIfAvailableNonNilReturns [ selfType] += 1
622
622
}
623
623
return result
624
624
}
You can’t perform that action at this time.
0 commit comments