Merge pull request #187 from ChrisGreenaway/patch-2

Update send-and-sync.md
pull/245/head
Yuki Okushi 4 years ago committed by GitHub
commit 8d3237ffd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,7 +6,7 @@ synchronization to manage this access, they are absolutely not thread-safe. Rust
captures this through the `Send` and `Sync` traits. 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 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 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 substantial amount of special tooling exists to make them work right. First and

Loading…
Cancel
Save