diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-09-03 21:40:19 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-09-03 21:40:19 +0200 |
| commit | 197cec6ed90852408006e2dfdde91cbf5533cc23 (patch) | |
| tree | 0da30e6ae32a052c39874a4da9c4b25ad09a1955 /src | |
| parent | 1661947014fc2ecbbb7a30b1604499500dcf767e (diff) | |
| download | rust-197cec6ed90852408006e2dfdde91cbf5533cc23.tar.gz rust-197cec6ed90852408006e2dfdde91cbf5533cc23.zip | |
book: Rust is a language, so no need to mention that fact here
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/choosing-your-guarantees.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/choosing-your-guarantees.md b/src/doc/trpl/choosing-your-guarantees.md index 68812f342f1..f14b09c25b2 100644 --- a/src/doc/trpl/choosing-your-guarantees.md +++ b/src/doc/trpl/choosing-your-guarantees.md @@ -1,6 +1,6 @@ % Choosing your Guarantees -One important feature of Rust as language is that it lets us control the costs and guarantees +One important feature of Rust is that it lets us control the costs and guarantees of a program. There are various “wrapper type” abstractions in the Rust standard library which embody @@ -40,7 +40,7 @@ allowed to share references to this by the regular borrowing rules, checked at c [box]: ../std/boxed/struct.Box.html -## `&T` and `&mut T` +## `&T` and `&mut T` These are immutable and mutable references respectively. They follow the “read-write lock” pattern, such that one may either have only one mutable reference to some data, or any number of |
