Skip to content

Commit d4da142

Browse files
authored
Merge pull request #678 from alex-weej/patch-3
Typos in NL.7
2 parents 522b652 + 43f6b85 commit d4da142

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CppCoreGuidelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16864,11 +16864,11 @@ This is not evil.
1686416864

1686516865
##### Example
1686616866

16867-
sqrt double(doube x); // return the square root of x; x must be non-negative
16867+
sqrt double(double x); // return the square root of x; x must be non-negative
1686816868

1686916869
int length(const char* p); // return the number of characters in a zero-terminated C-style string
1687016870

16871-
int length_of_string(const char zero_terminated_array of_char[]) // bad: verbose
16871+
int length_of_string(const char zero_terminated_array_of_char[]) // bad: verbose
1687216872

1687316873
int g; // bad: global variable with a cryptic name
1687416874

0 commit comments

Comments
 (0)