Skip to content

Commit dd25b3e

Browse files
committed
Rust: Don't use macro in test and add documentation string
1 parent c18c35d commit dd25b3e

File tree

3 files changed

+225
-271
lines changed

3 files changed

+225
-271
lines changed

rust/ql/lib/codeql/rust/controlflow/internal/Scope.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ private import ControlFlowGraphImpl
44
private import codeql.rust.internal.generated.ParentChild
55

66
abstract class CfgScope extends AstNode {
7+
/** Holds if `first` is executed first when entering scope. */
78
abstract predicate scopeFirst(AstNode first);
89

10+
/** Holds if scope is exited when `last` finishes with completion `c`. */
911
abstract predicate scopeLast(AstNode last, Completion c);
1012
}
1113

0 commit comments

Comments
 (0)