From 6fa5c8a6c10b82e5abf42fcd743f09ffe666ecf1 Mon Sep 17 00:00:00 2001 From: David Smith Date: Thu, 4 Jun 2026 15:56:58 -0700 Subject: [PATCH] Explain why this is a class --- Sources/System/IORing/IORing.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/System/IORing/IORing.swift b/Sources/System/IORing/IORing.swift index 3570da6..dcb71e4 100644 --- a/Sources/System/IORing/IORing.swift +++ b/Sources/System/IORing/IORing.swift @@ -44,6 +44,7 @@ extension UnsafeMutableRawBufferPointer { /// Owns the FilePaths whose interior pointers have been written into pending /// SQEs. The kernel copies SQE-referenced data out during io_uring_enter (due to /// IORING_FEAT_SUBMIT_STABLE), so the paths only need to live across the prepare->submit gap +/// This is a class purely to avoid making methods calling `pin` mutating, which would be an API break @usableFromInline internal final class PendingPathBuffers { @usableFromInline