Skip to content

Commit 988aca1

Browse files
committed
Rust: Correct QLDoc comment.
1 parent 03fc4cb commit 988aca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/lib/codeql/rust/security/Barriers.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class IntegralOrBooleanTypeBarrier extends DataFlow::Node {
4545

4646
/**
4747
* Holds if guard expression `g` having result `branch` indicates that the
48-
* sub-expression `node` is not null. For example when `ptr.is_null()` is
48+
* sub-expression `e` is not null. For example when `ptr.is_null()` is
4949
* `false`, we have that `ptr` is not null.
5050
*/
5151
private predicate notNullCheck(AstNode g, Expr e, boolean branch) {

0 commit comments

Comments
 (0)