]> git.lizzy.rs Git - rust.git/commitdiff
Update a spelling inconsistency
authorTang Chenglong <ideami@outlook.com>
Tue, 8 Mar 2016 05:42:05 +0000 (13:42 +0800)
committerTang Chenglong <ideami@outlook.com>
Tue, 8 Mar 2016 05:42:05 +0000 (13:42 +0800)
L26: "zero cost" -> "zero-cost"

src/doc/book/references-and-borrowing.md

index 0a4e09ed00ab6c48950020051d954115bd463b70..7be5cc442dd5f912ae441d4e7370fc9aa3cb009b 100644 (file)
@@ -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
 ‘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
-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
 features.