mirror of https://github.com/rust-lang/async-book
Fix a typo in async/.await chapter
This commit is contained in:
parent
a8ae3292ad
commit
e6b6c1e01e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue