book: Rust is a language, so no need to mention that fact here
This commit is contained in:
parent
1661947014
commit
197cec6ed9
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue