Skip to content

Commit ed22f49

Browse files
committed
Rust: Make ql-for-ql happy.
1 parent 1e656a4 commit ed22f49

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rust/ql/src/queries/security/CWE-696/BadCtorInitialization.ql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ class StdCall extends Expr {
4040
class PathElement = AstNode;
4141

4242
/**
43-
* A candidate edge for the query that is reachable from
44-
* a source.
43+
* Holds if (`pred`, `succ`) represents a candidate edge for the query that is
44+
* reachable from a source.
4545
*/
4646
predicate edgesFwd(PathElement pred, PathElement succ) {
4747
// attribute (source) -> callable
@@ -57,9 +57,9 @@ predicate edgesFwd(PathElement pred, PathElement succ) {
5757
}
5858

5959
/**
60-
* An edge for the query that is reachable from a source and backwards
61-
* reachable from a sink (adding the backwards reachability constraint
62-
* reduces the amount of output data produced).
60+
* Holds if (`pred`, `succ`) represents an edge for the query that is reachable
61+
* from a source and backwards reachable from a sink (adding the backwards
62+
* reachability constraint reduces the amount of output data produced).
6363
*/
6464
query predicate edges(PathElement pred, PathElement succ) {
6565
edgesFwd(pred, succ) and

0 commit comments

Comments
 (0)