Fix spelling

This commit is contained in:
miclill 2019-01-15 19:30:09 +00:00 committed by GitHub
parent f07c7d3b9e
commit 8b3cfa469c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -100,14 +100,14 @@ resulting value to a _newly declared variable._
From 6.1, `wait()` on `Void` actors shouldn't assign the resulting value. So, the following code
```c++
Futue<Void> asyncTask(); //defined elsewhere
Future<Void> asyncTask(); //defined elsewhere
Void _ = wait(asyncTask());
```
becomes
```c++
Futue<Void> asyncTask(); //defined elsewhere
Future<Void> asyncTask(); //defined elsewhere
wait(asyncTask());
```