Skip to content

Commit 59f3f1f

Browse files
Apply suggestions from code review
Co-authored-by: intrigus-lgtm <[email protected]>
1 parent 94b037f commit 59f3f1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust/ql/lib/codeql/rust/dataflow/Ssa.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ module Ssa {
342342
* An SSA definition inserted at a call that may update the value of a captured
343343
* variable. For example, in
344344
*
345-
* ```rb
345+
* ```rust
346346
* fn capture_mut() {
347347
* let mut y = 0;
348348
* (0..5).for_each(|| {

rust/ql/lib/codeql/rust/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ final class SingletonContentSet extends ContentSet, TSingletonContentSet {
769769

770770
class LambdaCallKind = Unit;
771771

772-
/** Holds if `creation` is an expression that creates a lambda of kind `kind` for `c`. */
772+
/** Holds if `creation` is an expression that creates a lambda of kind `kind`. */
773773
private predicate lambdaCreationExpr(Expr creation, LambdaCallKind kind) {
774774
creation instanceof ClosureExpr and exists(kind)
775775
}

0 commit comments

Comments
 (0)