Address doc review comment.

Co-Authored-By: Shati Patel <shati@semmle.com>
This commit is contained in:
Max Schaefer
2019-11-25 10:44:41 +00:00
committed by GitHub Enterprise
parent e16a81cba9
commit db4e6789bb

View File

@@ -5,7 +5,7 @@
<overview>
<p>
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.
</p>