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.
1 parent cec7b4b commit eb56bf3Copy full SHA for eb56bf3
validation-test/stdlib/UnsafeBufferPointer.swift.gyb
@@ -386,6 +386,7 @@ UnsafeMutableBufferPointerTestSuite.test("Slice.withContiguousStorageIfAvailable
386
let c = test.collection.map { MinimalEquatableValue($0.value) }
387
let buffer = UnsafeMutableBufferPointer<MinimalEquatableValue>.allocate(
388
capacity: test.collection.count)
389
+ defer { buffer.deallocate() }
390
var (it, idx) = buffer.initialize(from: c)
391
expectEqual(buffer.endIndex, idx)
392
expectNil(it.next())
0 commit comments