Skip to content

Commit abb5af8

Browse files
committed
trivial: s/a/the/
While "a wrong number can be passed" makes sense (and there are perhaps good philosophical reasons to prefer it), I believe that the more natural way to say it in common English is "the wrong number can be passed"; thus, this commit changes "a" to "the" in the comment of a code example.
1 parent 36a120d commit abb5af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ We can of course pass the number of elements along with the pointer:
767767

768768
void g2(int n)
769769
{
770-
// bad: a wrong number of elements can be passed to f2()
770+
// bad: the wrong number of elements can be passed to f2()
771771
f2(new int[n], n);
772772
}
773773

0 commit comments

Comments
 (0)