From e3f8f2797cc9cb5429cc5a25f1d42aa76a38ed72 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Wed, 23 Aug 2023 15:20:32 +0100 Subject: [PATCH] Fix comment typo in `Triple+Platforms.swift` `ivalid` -> `invalid` --- Sources/SwiftDriver/Utilities/Triple+Platforms.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/SwiftDriver/Utilities/Triple+Platforms.swift b/Sources/SwiftDriver/Utilities/Triple+Platforms.swift index 690491d8f..380560093 100644 --- a/Sources/SwiftDriver/Utilities/Triple+Platforms.swift +++ b/Sources/SwiftDriver/Utilities/Triple+Platforms.swift @@ -2,7 +2,7 @@ // // This source file is part of the Swift.org open source project // -// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors +// Copyright (c) 2014 - 2023 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information @@ -233,7 +233,7 @@ extension Triple { precondition(self.isDarwin) switch darwinPlatform! { case .macOS: - // The integrated driver falls back to `osVersion` for ivalid macOS + // The integrated driver falls back to `osVersion` for invalid macOS // versions, this decision might be worth revisiting. let macVersion = _macOSVersion ?? osVersion // The first deployment of arm64 for macOS is version 11