Update src/send-and-sync.md

Co-authored-by: Yuki Okushi <jtitor@2k36.org>
pull/259/head
Daniel Franklin 4 years ago committed by GitHub
parent 4a910d8e65
commit 047dc6bcf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -173,7 +173,7 @@ impl<T> DerefMut for Carton<T> {
} }
``` ```
Finally, lets think about whether our `Carton` is Send and Sync. Something can Finally, let's think about whether our `Carton` is Send and Sync. Something can
safely be Send unless it shares mutable state with something else without safely be Send unless it shares mutable state with something else without
enforcing exclusive access to it. Each `Carton` has a unique pointer, so enforcing exclusive access to it. Each `Carton` has a unique pointer, so
we're good. we're good.

Loading…
Cancel
Save