Skip to content

Commit 4e918f9

Browse files
hvitvedCopilot
andauthored
Update rust/ql/lib/codeql/rust/internal/typeinference/FunctionType.qll
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e29ca72 commit 4e918f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/lib/codeql/rust/internal/typeinference/FunctionType.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private newtype TAssocFunctionType =
8080
i.getASuccessor(_) = f and
8181
// When `f` is not directly in `i`, the `parent` should be satisfiable
8282
// through `i`. This ensures that `parent` is either a supertrait of `i` or
83-
// `i` in an `impl` block implementing `parent`.
83+
// `i` is an `impl` block implementing `parent`.
8484
(parent = i or BaseTypes::rootTypesSatisfaction(_, TTrait(parent), i, _, _)) and
8585
exists(pos.getTypeMention(f))
8686
}

0 commit comments

Comments
 (0)