Skip to content

Commit ab4e8c2

Browse files
committed
Merge pull request #172 from ohkawa/master
Fix typo
2 parents 2d0a261 + f5caed8 commit ab4e8c2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: docs/archive/LangRefNew.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ into every file. Its declarations can only be found by <a href="#expr-dot">dot
14241424
syntax</a>. It provides access to a small number of primitive representation
14251425
types and operations defined over them that map directly to LLVM IR.
14261426

1427-
The existance of and details of this module are a private implementation detail
1427+
The existence of and details of this module are a private implementation detail
14281428
used by our implementation of the standard library. Swift code outside the
14291429
standard library should not be aware of this library, and an independent
14301430
implementation of the swift standard library should be allowed to be

Diff for: test/SILPasses/functionsigopts_sroa.sil

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ bb0(%0 : $S1):
188188
return %9999 : $()
189189
}
190190

191-
// This test checks where we have a multiple level heirarchy, the root is dead,
191+
// This test checks where we have a multiple level hierarchy, the root is dead,
192192
// but the root has all fields used. This means that we should extract
193193
// everything, but we should not "reform" the aggregate.
194194
// CHECK-LABEL: sil [fragile] [thunk] @multiple_level_all_root_fields_used_callee : $@convention(thin) (S2) -> (Builtin.Int16, Builtin.Int64) {

Diff for: test/decl/var/usage.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func testTuple() {
140140
tup.x = 1
141141

142142
// <rdar://problem/20927707> QoI: 'variable was never mutated' noisy when only part of a destructured tuple is mutated
143-
var (tupA, tupB) = (1,2) // don't warn about tupB being changable to a 'let'.
143+
var (tupA, tupB) = (1,2) // don't warn about tupB being changeable to a 'let'.
144144
tupA += tupB
145145

146146
}

0 commit comments

Comments
 (0)