From fafd1bbcc43ccf2143e3400a0b7eb6172f98b82e Mon Sep 17 00:00:00 2001 From: Johannes Weiss Date: Wed, 26 Jun 2024 13:02:16 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Cory Benfield --- Sources/NIOCore/NIOLoopBound.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/NIOCore/NIOLoopBound.swift b/Sources/NIOCore/NIOLoopBound.swift index b338369f18..e7c5008180 100644 --- a/Sources/NIOCore/NIOLoopBound.swift +++ b/Sources/NIOCore/NIOLoopBound.swift @@ -110,7 +110,7 @@ public final class NIOLoopBoundBox: @unchecked Sendable { /// Initialise a ``NIOLoopBoundBox`` with a ``Sendable`` value, validly callable off `eventLoop`. /// /// Contrary to ``init(_:eventLoop:)``, this method can be called off `eventLoop` because we know that `value` is ``Sendable``. - /// So we don't need to pretect `value` itself, we just need to protect the ``NIOLoopBoundBox`` against mutations which we do because the ``value`` + /// So we don't need to protect `value` itself, we just need to protect the ``NIOLoopBoundBox`` against mutations which we do because the ``value`` /// accessors are checking that we're on `eventLoop`. public static func makeBoxOffEventLoop( _ value: Value,