From dc829e2b9352b609c6baf3d3653ae94e5456bc92 Mon Sep 17 00:00:00 2001 From: Tang Chenglong Date: Tue, 8 Mar 2016 13:42:05 +0800 Subject: [PATCH] Update a spelling inconsistency L26: "zero cost" -> "zero-cost" --- src/doc/book/references-and-borrowing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/book/references-and-borrowing.md b/src/doc/book/references-and-borrowing.md index 0a4e09ed00ab6..7be5cc442dd5f 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.