mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
Swift: fix QLDoc typos
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@ private import codeql.swift.elements.expr.Expr
|
|||||||
/**
|
/**
|
||||||
* A Swift autoclosure expression, that is, a closure automatically generated
|
* A Swift autoclosure expression, that is, a closure automatically generated
|
||||||
* around an argument when the parameter has the `@autoclosure` attribute or
|
* around an argument when the parameter has the `@autoclosure` attribute or
|
||||||
* for the rtight-hand operand of short-circuiting logical operations. For
|
* for the right-hand operand of short-circuiting logical operations. For
|
||||||
* example, there is an `AutoClosureExpr` around the value `0` in:
|
* example, there is an `AutoClosureExpr` around the value `0` in:
|
||||||
* ```
|
* ```
|
||||||
* func myFunction(_ expr: @autoclosure () -> Int) {
|
* func myFunction(_ expr: @autoclosure () -> Int) {
|
||||||
|
|||||||
@@ -3,6 +3,6 @@ private import codeql.swift.generated.expr.ExplicitClosureExpr
|
|||||||
/**
|
/**
|
||||||
* A Swift explicit closure expr, that is, a closure written using
|
* A Swift explicit closure expr, that is, a closure written using
|
||||||
* `{ ... -> ... in ... }` syntax rather than automatically generated by the
|
* `{ ... -> ... in ... }` syntax rather than automatically generated by the
|
||||||
* compiler .
|
* compiler.
|
||||||
*/
|
*/
|
||||||
class ExplicitClosureExpr extends Generated::ExplicitClosureExpr { }
|
class ExplicitClosureExpr extends Generated::ExplicitClosureExpr { }
|
||||||
|
|||||||
Reference in New Issue
Block a user