File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
TSPL.docc/ReferenceManual Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1483,7 +1483,7 @@ in a context where a throwing one is expected.
1483
1483
For more information about the type of a throwing function,
1484
1484
see < doc:Types#Function-Type > .
1485
1485
For examples of working with errors that have explicit types,
1486
- see < doc:ErrorHandling#Specifying-a-Concrete -Error-Type > .
1486
+ see < doc:ErrorHandling#Specifying-the -Error-Type > .
1487
1487
1488
1488
You can't overload a function based only on whether the function can throw an error.
1489
1489
That said,
Original file line number Diff line number Diff line change @@ -914,7 +914,7 @@ Swift infers the error type as follows:
914
914
then Swift infers that the `do` statement throws `any Error`.
915
915
916
916
For more information about working with errors that have explicit types,
917
- see <doc:ErrorHandling #Specifying -a - Concrete -Error -Type >.
917
+ see <doc:ErrorHandling #Specifying -the -Error -Type >.
918
918
919
919
If any statement in the `do` code block throws an error,
920
920
program control is transferred
You can’t perform that action at this time.
0 commit comments