Skip to content

Commit 1421f37

Browse files
committed
book: typo fixes
fixes changkun#104
1 parent bfd2f7c commit 1421f37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/zh-cn/05-pointers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,13 @@ struct B;
148148
struct A {
149149
std::shared_ptr<B> pointer;
150150
~A() {
151-
std::cout << "A 被销毁" << std::end;
151+
std::cout << "A 被销毁" << std::endl;
152152
}
153153
};
154154
struct B {
155155
std::shared_ptr<A> pointer;
156156
~B() {
157-
std::cout << "B 被销毁" << std::end;
157+
std::cout << "B 被销毁" << std::endl;
158158
}
159159
};
160160
int main() {

0 commit comments

Comments
 (0)