Skip to content

Commit 3022752

Browse files
authored
Fix comment typo in Triple+Platforms.swift (#1425)
`ivalid` -> `invalid`
1 parent 15e52d5 commit 3022752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftDriver/Utilities/Triple+Platforms.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the Swift.org open source project
44
//
5-
// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
5+
// Copyright (c) 2014 - 2023 Apple Inc. and the Swift project authors
66
// Licensed under Apache License v2.0 with Runtime Library Exception
77
//
88
// See https://swift.org/LICENSE.txt for license information
@@ -233,7 +233,7 @@ extension Triple {
233233
precondition(self.isDarwin)
234234
switch darwinPlatform! {
235235
case .macOS:
236-
// The integrated driver falls back to `osVersion` for ivalid macOS
236+
// The integrated driver falls back to `osVersion` for invalid macOS
237237
// versions, this decision might be worth revisiting.
238238
let macVersion = _macOSVersion ?? osVersion
239239
// The first deployment of arm64 for macOS is version 11

0 commit comments

Comments
 (0)