fix typo in 7.14 sync (#278)
This commit is contained in:
parent
21f3427c92
commit
af4fe9cedb
@ -5,7 +5,7 @@ Before we wrap up this chapter, let's talk about another key trait in Rust's sta
|
||||
`Sync` is an auto trait, just like `Send`.\
|
||||
It is automatically implemented by all types that can be safely **shared** between threads.
|
||||
|
||||
In order words: `T` is Sync if `&T` is `Send`.
|
||||
In other words: `T` is Sync if `&T` is `Send`.
|
||||
|
||||
## `T: Sync` doesn't imply `T: Send`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user