Skip to content

Commit 5df3f38

Browse files
authored
Merge pull request #7908 from ChristopherRogers/fix-comments
2 parents 5a6867a + feb34d9 commit 5df3f38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/SIL.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ predictable.
8484
If an arithmetic overflow occurs during the constant expression computation, a diagnostic
8585
is issued.
8686
- **Return analysis** verifies that each function returns a value on every
87-
code path and doesn't "fall of the end" of its definition, which is an error.
87+
code path and doesn't "fall off the end" of its definition, which is an error.
8888
It also issues an error when a ``noreturn`` function returns.
8989
- **Critical edge splitting** splits all critical edges from terminators that
9090
don't support arbitrary basic block arguments (all non cond_branch

include/swift/AST/AvailabilitySpec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ enum class AvailabilitySpecKind {
3131
/// A platform-version constraint of the form "PlatformName X.Y.Z"
3232
PlatformVersionConstraint,
3333

34-
/// A wildcard constraint, spelled '*', that is be equivalent
34+
/// A wildcard constraint, spelled '*', that is equivalent
3535
/// to CurrentPlatformName >= MinimumDeploymentTargetVersion
3636
OtherPlatform,
3737

0 commit comments

Comments
 (0)