Update a spelling inconsistency
L26: "zero cost" -> "zero-cost"
This commit is contained in:
parent
4352a8554f
commit
dc829e2b93
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ Before we get to the details, two important notes about the ownership system.
|
||||||
Rust has a focus on safety and speed. It accomplishes these goals through many
|
Rust has a focus on safety and speed. It accomplishes these goals through many
|
||||||
‘zero-cost abstractions’, which means that in Rust, abstractions cost as little
|
‘zero-cost abstractions’, which means that in Rust, abstractions cost as little
|
||||||
as possible in order to make them work. The ownership system is a prime example
|
as possible in order to make them work. The ownership system is a prime example
|
||||||
of a zero cost abstraction. All of the analysis we’ll talk about in this guide
|
of a zero-cost abstraction. All of the analysis we’ll talk about in this guide
|
||||||
is _done at compile time_. You do not pay any run-time cost for any of these
|
is _done at compile time_. You do not pay any run-time cost for any of these
|
||||||
features.
|
features.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue