Skip to content

Commit 8767bb8

Browse files
dibakchchangkun
authored andcommitted
book: english typo (changkun#79)
1 parent 0aa031f commit 8767bb8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

book/en-us/02-usability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ int main() {
6161
std::cout << "NULL == nullptr" << std::endl;
6262
6363
foo(0); // will call foo(int)
64-
// foo(NULL); // doen't compile
64+
// foo(NULL); // doesn't compile
6565
foo(nullptr); // will call foo(char*)
6666
return 0;
6767
}

code/2/2.01.nullptr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ int main() {
2222
std::cout << "NULL == nullptr" << std::endl;
2323

2424
foo(0); // will call foo(int)
25-
// foo(NULL); // doen't compile
25+
// foo(NULL); // doesn't compile
2626
foo(nullptr); // will call foo(char*)
2727
return 0;
2828
}

0 commit comments

Comments
 (0)