Skip to content

Commit 92122fe

Browse files
committed
Rust: statement -> expression.
1 parent 771d934 commit 92122fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/codeql/codeql-language-guides/basic-query-for-rust-code.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Running a quick query
3333
3434
from IfExpr ifExpr
3535
where ifExpr.getThen().(BlockExpr).getStmtList().getNumberOfStmtOrExpr() = 0
36-
select ifExpr, "This 'if' statement is redundant."
36+
select ifExpr, "This 'if' expression is redundant."
3737
3838
.. include:: ../reusables/vs-code-basic-instructions/run-quick-query-2.rst
3939

0 commit comments

Comments
 (0)