Skip to content

Commit 3b1d917

Browse files
committed
Rust: Autoformat.
1 parent 6bde26d commit 3b1d917

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rust/ql/src/queries/unusedentities/UnreachableCode.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ import codeql.rust.controlflow.internal.ControlFlowGraphImpl as ControlFlowGraph
1515
/**
1616
* Holds if `n` is an AST node that's unreachable.
1717
*/
18-
private predicate unreachable(AstNode n) {
19-
not n = any(CfgNode cfn).getAstNode()
20-
}
18+
private predicate unreachable(AstNode n) { not n = any(CfgNode cfn).getAstNode() }
2119

2220
/**
2321
* Holds if `n` is an AST node that's unreachable, and is not the successor

0 commit comments

Comments
 (0)