about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-03-08 21:44:12 +0300
committerSteve Klabnik <steve@steveklabnik.com>2016-03-08 21:44:12 +0300
commit33fe4d10fc2e81ef4d2f601e9982cc9dbe5615a5 (patch)
tree81dd9cb9df8967ca3a381ee9053c97a214ae41a0 /src/doc
parentbf9610ddbbe0161b7c94a9f909f99906682df540 (diff)
parentdc829e2b9352b609c6baf3d3653ae94e5456bc92 (diff)
downloadrust-33fe4d10fc2e81ef4d2f601e9982cc9dbe5615a5.tar.gz
rust-33fe4d10fc2e81ef4d2f601e9982cc9dbe5615a5.zip
Rollup merge of #32115 - tclfs:patch-1, r=apasel422
Update a spelling inconsistency

L26: "zero cost" -> "zero-cost"
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/book/references-and-borrowing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/references-and-borrowing.md b/src/doc/book/references-and-borrowing.md
index 0a4e09ed00a..7be5cc442dd 100644
--- a/src/doc/book/references-and-borrowing.md
+++ b/src/doc/book/references-and-borrowing.md
@@ -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.