Skip to content

Commit d4b2dc3

Browse files
committed
Apply suggestion
1 parent be41ca5 commit d4b2dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/lib/codeql/rust/elements/internal/ImplicitVariableAccessConstructor.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ private import codeql.rust.elements.FormatTemplate
1313
* INTERNAL: Do not use.
1414
*/
1515
predicate constructImplicitVariableAccess(Raw::FormatArgsExpr parent, int index, int kind) {
16-
exists(NamedFormatArgument arg | unboundNamedFormatArgument(parent, index, kind, arg))
16+
unboundNamedFormatArgument(parent, index, kind, _)
1717
}
1818

1919
/**

0 commit comments

Comments
 (0)