book: add missing semicolon (#205)

This commit is contained in:
Timothy
2021-08-29 03:57:04 +08:00
committed by GitHub
parent 7f46de1a6c
commit 19ceeb7b4f
2 changed files with 2 additions and 2 deletions

View File

@@ -480,7 +480,7 @@ You may think that when we introduce `auto`, we have already mentioned that `aut
```cpp
template<typename R, typename T, typename U>
R add(T x, U y) {
return x+y
return x+y;
}
```

View File

@@ -413,7 +413,7 @@ type z == type x
```cpp
template<typename R, typename T, typename U>
R add(T x, U y) {
return x+y
return x+y;
}
```