Skip to content

Commit c281db6

Browse files
committed
Swift: improve QLDoc for getSequence
1 parent ec292ca commit c281db6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

swift/ql/lib/codeql/swift/elements/stmt/ForEachStmt.qll

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ class ForEachStmt extends Generated::ForEachStmt {
88
}
99

1010
/*
11-
* Gets the sequence of this for each statement.
11+
* Gets the sequence which this statement is iterating over.
1212
*/
1313

14-
final Expr getSequence() {
15-
result = this.getIteratorVar().getInit(0)
16-
}
14+
final Expr getSequence() { result = this.getIteratorVar().getInit(0) }
1715
}

0 commit comments

Comments
 (0)