Skip to content

Commit 8d9cc1f

Browse files
committed
Fix typos in comments
1 parent 20258e5 commit 8d9cc1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/CodeGen/LLVM/Transpilation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,7 @@ extension SwiftyLLVM.Module {
18161816
var x = insertGetStructElementPointer(
18171817
of: e, typed: captures, index: i, at: insertionPoint)
18181818

1819-
// Remote captures are passed deferenced.
1819+
// Remote captures are passed dereferenced.
18201820
if c.type.base is RemoteType {
18211821
x = insertLoad(ptr, from: x, at: insertionPoint)
18221822
}

Sources/FrontEnd/TypeChecking/ConstraintSystem.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ struct ConstraintSystem {
222222
return nil
223223
}
224224

225-
// Check whether the conformance holds, either explicitly or structually.
225+
// Check whether the conformance holds, either explicitly or structurally.
226226
if checker.conforms(goal.model, to: goal.concept, in: scope) {
227227
return .success
228228
} else {

0 commit comments

Comments
 (0)