Skip to content

Commit df221ea

Browse files
committed
Rust: Remove excess 'cached' annotation.
1 parent 14b75a9 commit df221ea

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ module Impl {
128128
Name getName() { variableDecl(definingNode, result, text) }
129129

130130
/** Gets the block that encloses this variable, if any. */
131-
cached
132131
BlockExpr getEnclosingBlock() { result = definingNode.getEnclosingBlock() }
133132

134133
/** Gets the `self` parameter that declares this variable, if any. */

0 commit comments

Comments
 (0)