We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e76588 commit 29cadb2Copy full SHA for 29cadb2
TSPL.docc/ReferenceManual/Declarations.md
@@ -1469,6 +1469,10 @@ Calls to a throwing function or method must be wrapped in a `try` or `try!` expr
1469
(that is, in the scope of a `try` or `try!` operator).
1470
1471
<!-- XXX
1472
+spellings:
1473
+- throws is the same as throws(any Error)
1474
+- throws(Never) is the same as not-throwing
1475
+
1476
Rule for inferring the thrown error type
1477
Xref to the guide <doc:ErrorHandling#Specifying-a-Concrete-Error-Type>
1478
-->
0 commit comments