diff --git a/Sources/Subprocess/IO/AsyncIO+Windows.swift b/Sources/Subprocess/IO/AsyncIO+Windows.swift index ad02d947..ff4c8f30 100644 --- a/Sources/Subprocess/IO/AsyncIO+Windows.swift +++ b/Sources/Subprocess/IO/AsyncIO+Windows.swift @@ -59,7 +59,7 @@ final class AsyncIO: @unchecked Sendable { internal init() { var maybeSetupError: SubprocessError? = nil - // Create the the completion port + // Create the completion port guard let ioCompletionPort = CreateIoCompletionPort( INVALID_HANDLE_VALUE, nil, 0, 0 diff --git a/Sources/Subprocess/Platforms/Subprocess+Linux.swift b/Sources/Subprocess/Platforms/Subprocess+Linux.swift index 91958434..4afd0548 100644 --- a/Sources/Subprocess/Platforms/Subprocess+Linux.swift +++ b/Sources/Subprocess/Platforms/Subprocess+Linux.swift @@ -130,7 +130,7 @@ internal func monitorProcessTermination( case let .success(status?): return .success(status) case .success(nil): - // Save this continuation to be called by signal hander + // Save this continuation to be called by signal handler var newState = storage newState.continuations[processIdentifier.value] = continuation state = .started(newState) @@ -350,7 +350,7 @@ private let setup: () = { return } // Register the read end with epoll so we can get updates - // about it. The write end is written by the signal hander + // about it. The write end is written by the signal handler var event = epoll_event( events: EPOLLIN.rawValue, data: epoll_data(fd: _signalPipe.readEnd) diff --git a/Tests/TestResources/TestResources.swift b/Tests/TestResources/TestResources.swift index 70308621..abd257b3 100644 --- a/Tests/TestResources/TestResources.swift +++ b/Tests/TestResources/TestResources.swift @@ -13,7 +13,7 @@ @preconcurrency import WinSDK #endif -// Confitionally require Foundation due to `Bundle.module` +// Conditionally require Foundation due to `Bundle.module` import Foundation #if canImport(System)