Skip to content

Commit

Permalink
Merge pull request #187 from ChrisGreenaway/patch-2
Browse files Browse the repository at this point in the history
Update send-and-sync.md
  • Loading branch information
JohnTitor authored Nov 1, 2020
2 parents 45b640d + c7d67b5 commit 8d3237f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/send-and-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ synchronization to manage this access, they are absolutely not thread-safe. Rust
captures this through the `Send` and `Sync` traits.

* A type is Send if it is safe to send it to another thread.
* A type is Sync if it is safe to share between threads (`&T` is Send).
* A type is Sync if it is safe to share between threads (T is Sync if and only if `&T` is Send).

Send and Sync are fundamental to Rust's concurrency story. As such, a
substantial amount of special tooling exists to make them work right. First and
Expand Down

0 comments on commit 8d3237f

Please sign in to comment.