We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5f4a39 + 600417a commit 4ed0fb7Copy full SHA for 4ed0fb7
rust/ql/lib/codeql/rust/internal/TypeInference.qll
@@ -405,7 +405,7 @@ private module CertainTypeInference {
405
inferCertainType(n, path) != t
406
or
407
// If we infer that `n` has _some_ type at `T1.T2....Tn`, and we also
408
- // know that `n` certainly has type `certainType` at `T1.T2...Ti`, `i <=0 < n`,
+ // know that `n` certainly has type `certainType` at `T1.T2...Ti`, `0 <= i < n`,
409
// then it must be the case that `T(i+1)` is a type parameter of `certainType`,
410
// otherwise there is a conflict.
411
//
0 commit comments