Skip to content

Commit 4959d10

Browse files
committed
Drain mechanical AST lint findings (API-IMPL-008: 4)
1 parent df8a559 commit 4959d10

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Tests/Buffer Ring Primitives Tests/Buffer.Ring Seam Tests.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ private struct SeamItem: ~Copyable {
146146

147147
/// Per-suite recorder (the deterministic-gate rule: cross-suite parallelism races a
148148
/// shared recorder).
149-
private enum SeamProbe {
149+
private enum SeamProbe {}
150+
151+
extension SeamProbe {
150152
nonisolated(unsafe) static var _destroyed: [Int] = []
151153
static func reset() { unsafe _destroyed = [] }
152154
static func recordDestroy(_ id: Int) { unsafe _destroyed.append(id) }

0 commit comments

Comments
 (0)