Skip to content

Commit f5780ae

Browse files
committed
Amend docstring
1 parent 4fb133a commit f5780ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/LanguageFeatures/LengthComparisonOffByOne.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ConditionGuardNode getLengthLEGuard(Variable index, Variable array) {
3434
}
3535

3636
/**
37-
* Gets a condition that checks that `index` is less than or equal to `array.length`.
37+
* Gets a condition that checks that `index` is less than `array.length`.
3838
*/
3939
ConditionGuardNode getLengthLTGuard(Variable index, Variable array) {
4040
exists(RelationalComparison cmp | cmp instanceof GTExpr or cmp instanceof LTExpr |

0 commit comments

Comments
 (0)