Skip to content

Commit 4ed0fb7

Browse files
authored
Merge pull request #20289 from github/rust/typo-in-bound
Rust: Fix minor typo in bound in comment
2 parents d5f4a39 + 600417a commit 4ed0fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/lib/codeql/rust/internal/TypeInference.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ private module CertainTypeInference {
405405
inferCertainType(n, path) != t
406406
or
407407
// 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`,
408+
// know that `n` certainly has type `certainType` at `T1.T2...Ti`, `0 <= i < n`,
409409
// then it must be the case that `T(i+1)` is a type parameter of `certainType`,
410410
// otherwise there is a conflict.
411411
//

0 commit comments

Comments
 (0)