Fix a typo in async/.await chapter

This commit is contained in:
Divin Kong 2021-02-10 22:12:14 -05:00 committed by Taiki Endo
parent a8ae3292ad
commit e6b6c1e01e
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ This means that it is not safe to use `Rc`, `&RefCell` or any other types
that don't implement the `Send` trait, including references to types that don't
implement the `Sync` trait.
(Caveat: it is possible to use these types so long as they aren't in scope
(Caveat: it is possible to use these types as long as they aren't in scope
during a call to `.await`.)
Similarly, it isn't a good idea to hold a traditional non-futures-aware lock