Skip to content

Commit 843577d

Browse files
committed
Update version number to Swift 5.10
1 parent b23f6ba commit 843577d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

TSPL.docc/GuidedTour/Compatibility.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
Learn what functionality is available in older language modes.
44

5-
This book describes Swift 5.9.2,
5+
This book describes Swift 5.10,
66
the default version of Swift that's included in Xcode 15.1.
77
You can use Xcode 15.1 to build targets
8-
that are written in either 5.9.2, Swift 4.2, or Swift 4.
8+
that are written in either 5.10, Swift 4.2, or Swift 4.
99

1010
<!--
1111
- test: `swift-version`
@@ -23,9 +23,9 @@ that are written in either 5.9.2, Swift 4.2, or Swift 4.
2323
-->
2424

2525
When you use Xcode 15.1 to build Swift 4 and Swift 4.2 code,
26-
most Swift 5.9.2 functionality is available.
26+
most Swift 5.10 functionality is available.
2727
That said,
28-
the following changes are available only to code that uses 5.9.2 or later:
28+
the following changes are available only to code that uses 5.10 or later:
2929

3030
- Functions that return an opaque type require the Swift 5.1 runtime.
3131
- The `try?` expression doesn't introduce an extra level of optionality
@@ -35,18 +35,18 @@ the following changes are available only to code that uses 5.9.2 or later:
3535
For example, `UInt64(0xffff_ffff_ffff_ffff)` evaluates to the correct value
3636
rather than overflowing.
3737

38-
Concurrency requires 5.9.2 or later,
38+
Concurrency requires 5.10 or later,
3939
and a version of the Swift standard library
4040
that provides the corresponding concurrency types.
4141
On Apple platforms, set a deployment target
4242
of at least iOS 13, macOS 10.15, tvOS 13, or watchOS 6.
4343

44-
A target written in 5.9.2 can depend on
44+
A target written in 5.10 can depend on
4545
a target that's written in Swift 4.2 or Swift 4,
4646
and vice versa.
4747
This means, if you have a large project
4848
that's divided into multiple frameworks,
49-
you can migrate your code from Swift 4 to 5.9.2
49+
you can migrate your code from Swift 4 to 5.10
5050
one framework at a time.
5151

5252
> Beta Software:

TSPL.docc/The-Swift-Programming-Language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# The Swift Programming Language (5.9.2)
1+
# The Swift Programming Language (5.10)
22

33
@Metadata {
44
@TechnologyRoot

0 commit comments

Comments
 (0)