From: Budo Zindovic Date: Wed, 26 Apr 2023 08:37:50 +0000 (+0200) Subject: Fix grammar to improve clarity X-Git-Url: https://git.ralfj.de/rust-101.git/commitdiff_plain/4f92e4d16fbdd96084a09567fc5f8e421c8b2351?ds=inline;hp=4cac8138d63e49c60d101bee79b9e60644b3de0a Fix grammar to improve clarity Fix grammar to improve clarity of the text. --- diff --git a/src/part13.rs b/src/part13.rs index 31f629b..ac7698c 100644 --- a/src/part13.rs +++ b/src/part13.rs @@ -198,7 +198,7 @@ pub fn main() { //@ functions provided by `Send`. What the trait says is that types which are `Send` can be safely //@ sent to another thread without causing trouble. //@ Of course, all the primitive data-types are `Send`. So is `Arc`, which is why Rust accepted our -//@ code. But `Rc` is not `Send`, and for a good reason! If had two `Rc` to the same data, and sent +//@ code. But `Rc` is not `Send`, and for a good reason! If we had two `Rc`s to the same data, and sent //@ one of them to another thread, things could go havoc due to the lack of synchronization. //@ //@ Now, `Send` as a trait is fairly special. It has a so-called *default implementation*. This