Skip to content

Commit 19ceeb7

Browse files
authored
book: add missing semicolon (changkun#205)
1 parent 7f46de1 commit 19ceeb7

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
@@ -480,7 +480,7 @@ You may think that when we introduce `auto`, we have already mentioned that `aut
480480
```cpp
481481
template<typename R, typename T, typename U>
482482
R add(T x, U y) {
483-
return x+y
483+
return x+y;
484484
}
485485
```
486486

book/zh-cn/02-usability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ type z == type x
413413
```cpp
414414
template<typename R, typename T, typename U>
415415
R add(T x, U y) {
416-
return x+y
416+
return x+y;
417417
}
418418
```
419419

0 commit comments

Comments
 (0)