Skip to content

Commit 2a70360

Browse files
authored
Merge pull request swiftlang#32787 from ffried/fix_comparison_typo
2 parents de27747 + 67073c7 commit 2a70360

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

include/swift/Driver/Compilation.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ namespace driver {
5656
enum class OutputLevel {
5757
/// Indicates that normal output should be produced.
5858
Normal,
59-
59+
6060
/// Indicates that only jobs should be printed and not run. (-###)
6161
PrintJobs,
6262

@@ -83,7 +83,7 @@ class Compilation {
8383
const bool &EnableIncrementalBuild;
8484
const bool EnableSourceRangeDependencies;
8585

86-
/// If not empty, the path to use to log the comparision.
86+
/// If not empty, the path to use to log the comparison.
8787
const StringRef CompareIncrementalSchemesPath;
8888

8989
const unsigned SwiftInputCount;

include/swift/Option/Options.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Flag<["-"], "enable-only-one-dependency-file">, Flags<[DoesNotAffectIncrementalB
154154
def disable_only_one_dependency_file :
155155
Flag<["-"], "disable-only-one-dependency-file">, Flags<[DoesNotAffectIncrementalBuild]>,
156156
HelpText<"Disables incremental build optimization that only produces one dependencies file">;
157-
157+
158158

159159
def enable_source_range_dependencies :
160160
Flag<["-"], "enable-source-range-dependencies">, Flags<[]>,
@@ -167,7 +167,7 @@ HelpText<"Print a simple message comparing dependencies with source ranges (w/ f
167167

168168
def driver_compare_incremental_schemes_path :
169169
Separate<["-"], "driver-compare-incremental-schemes-path">, Flags<[ArgumentIsPath,DoesNotAffectIncrementalBuild]>,
170-
HelpText<"Path to use for machine-readable comparision">,
170+
HelpText<"Path to use for machine-readable comparison">,
171171
MetaVarName<"<path>">;
172172

173173
def driver_compare_incremental_schemes_path_EQ :

stdlib/public/core/StringComparable.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ extension StringProtocol {
6565
}
6666

6767
extension String: Equatable {
68-
@inlinable @inline(__always) // For the bitwise comparision
68+
@inlinable @inline(__always) // For the bitwise comparison
6969
@_effects(readonly)
7070
@_semantics("string.equals")
7171
public static func == (lhs: String, rhs: String) -> Bool {
@@ -74,7 +74,7 @@ extension String: Equatable {
7474
}
7575

7676
extension String: Comparable {
77-
@inlinable @inline(__always) // For the bitwise comparision
77+
@inlinable @inline(__always) // For the bitwise comparison
7878
@_effects(readonly)
7979
public static func < (lhs: String, rhs: String) -> Bool {
8080
return _stringCompare(lhs._guts, rhs._guts, expecting: .less)

0 commit comments

Comments
 (0)