From d6a6e7092a0565dc75b5dcd0a0a40da91b110e3b Mon Sep 17 00:00:00 2001 From: Amir Livneh Date: Tue, 26 Feb 2019 17:31:09 -0500 Subject: [PATCH] Remove superfluous word in ES.42 enforcement (#1347) --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 30e2d77..dec14f5 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -11418,7 +11418,7 @@ If you want to pass an array, say so: ##### Enforcement * Flag any arithmetic operation on an expression of pointer type that results in a value of pointer type. -* Flag any indexing expression on an expression or variable of array type (either static array or `std::array`) where the indexer is not a compile-time constant expression with a value between `0` or and the upper bound of the array. +* Flag any indexing expression on an expression or variable of array type (either static array or `std::array`) where the indexer is not a compile-time constant expression with a value between `0` and the upper bound of the array. * Flag any expression that would rely on implicit conversion of an array type to a pointer type. This rule is part of the [bounds-safety profile](#SS-bounds).