Skip to content

Commit e15f875

Browse files
authored
Fix some typos (#181)
1 parent eafdd72 commit e15f875

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Sources/Subprocess/IO/AsyncIO+Windows.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ final class AsyncIO: @unchecked Sendable {
5959

6060
internal init() {
6161
var maybeSetupError: SubprocessError? = nil
62-
// Create the the completion port
62+
// Create the completion port
6363
guard
6464
let ioCompletionPort = CreateIoCompletionPort(
6565
INVALID_HANDLE_VALUE, nil, 0, 0

Sources/Subprocess/Platforms/Subprocess+Linux.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ internal func monitorProcessTermination(
130130
case let .success(status?):
131131
return .success(status)
132132
case .success(nil):
133-
// Save this continuation to be called by signal hander
133+
// Save this continuation to be called by signal handler
134134
var newState = storage
135135
newState.continuations[processIdentifier.value] = continuation
136136
state = .started(newState)
@@ -350,7 +350,7 @@ private let setup: () = {
350350
return
351351
}
352352
// Register the read end with epoll so we can get updates
353-
// about it. The write end is written by the signal hander
353+
// about it. The write end is written by the signal handler
354354
var event = epoll_event(
355355
events: EPOLLIN.rawValue,
356356
data: epoll_data(fd: _signalPipe.readEnd)

Tests/TestResources/TestResources.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@preconcurrency import WinSDK
1414
#endif
1515

16-
// Confitionally require Foundation due to `Bundle.module`
16+
// Conditionally require Foundation due to `Bundle.module`
1717
import Foundation
1818

1919
#if canImport(System)

0 commit comments

Comments
 (0)