From db4e6789bb930420497e13fc27138edd3ebe282e Mon Sep 17 00:00:00 2001 From: Max Schaefer Date: Mon, 25 Nov 2019 10:44:41 +0000 Subject: [PATCH] Address doc review comment. Co-Authored-By: Shati Patel --- ql/src/InconsistentCode/ConstantLengthComparison.qhelp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ql/src/InconsistentCode/ConstantLengthComparison.qhelp b/ql/src/InconsistentCode/ConstantLengthComparison.qhelp index 64df4b7aaf4..cac73bf10d1 100644 --- a/ql/src/InconsistentCode/ConstantLengthComparison.qhelp +++ b/ql/src/InconsistentCode/ConstantLengthComparison.qhelp @@ -5,7 +5,7 @@

-Indexing operations on arrays, slices or strings should use an index at most one less than the +Indexing operations on arrays, slices, or strings should use an index at most one less than the length. If the operation uses a variable index but checks the length against a constant, this may indicate a logic error which could lead to an out-of-bounds access.