Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Cory Benfield <[email protected]>
  • Loading branch information
weissi and Lukasa authored Jun 26, 2024
1 parent 51e5755 commit fafd1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NIOCore/NIOLoopBound.swift
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public final class NIOLoopBoundBox<Value>: @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,
Expand Down

0 comments on commit fafd1bb

Please sign in to comment.