Skip to content

Commit 43f6b85

Browse files
authored
Typos in NL.7
1 parent 50261a5 commit 43f6b85

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)