about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-04-28 09:51:44 -0400
committerSteve Klabnik <steve@steveklabnik.com>2016-04-28 09:51:44 -0400
commit32db236342433127edf72cff64c7d858d7b8ee22 (patch)
tree48ac61a9e7465679102cf87e515078487461a012
parent385a54f4d49947faf0aa8e4fe2114761a45d0768 (diff)
parentf7ec6873ccfbf7dcdbd1908c0857c866b3e7087a (diff)
downloadrust-32db236342433127edf72cff64c7d858d7b8ee22.tar.gz
rust-32db236342433127edf72cff64c7d858d7b8ee22.zip
Rollup merge of #33095 - xogeny:xogeny-patch-1, r=steveklabnik
Tweaks to sections related to Ownership

Reading through these sections, I thought the intro text could be improved slightly.  So
here is a PR that addresses what was bugging me about it. :-)

Main issue was the wording of the opening sentence ("guide" is not clearly defined and the
wording was a bit too terse in my opinion).  I also took issue with the term "one of the most
unique".  Uniqueness is a `bool`, not an `f64`. :-)

r? @steveklabnik
-rw-r--r--src/doc/book/lifetimes.md4
-rw-r--r--src/doc/book/ownership.md4
-rw-r--r--src/doc/book/references-and-borrowing.md4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/doc/book/lifetimes.md b/src/doc/book/lifetimes.md
index 695b1614fb7..cb075731898 100644
--- a/src/doc/book/lifetimes.md
+++ b/src/doc/book/lifetimes.md
@@ -1,7 +1,7 @@
 % Lifetimes
 
-This guide is three of three presenting Rust’s ownership system. This is one of
-Rust’s most unique and compelling features, with which Rust developers should
+This is the last of three sections presenting Rust’s ownership system. This is one of
+Rust’s most distinct and compelling features, with which Rust developers should
 become quite acquainted. Ownership is how Rust achieves its largest goal,
 memory safety. There are a few distinct concepts, each with its own chapter:
 
diff --git a/src/doc/book/ownership.md b/src/doc/book/ownership.md
index 988103a1180..e2e0403b738 100644
--- a/src/doc/book/ownership.md
+++ b/src/doc/book/ownership.md
@@ -1,7 +1,7 @@
 % Ownership
 
-This guide is one of three presenting Rust’s ownership system. This is one of
-Rust’s most unique and compelling features, with which Rust developers should
+This is the first of three sections presenting Rust’s ownership system. This is one of
+Rust’s most distinct and compelling features, with which Rust developers should
 become quite acquainted. Ownership is how Rust achieves its largest goal,
 memory safety. There are a few distinct concepts, each with its own
 chapter:
diff --git a/src/doc/book/references-and-borrowing.md b/src/doc/book/references-and-borrowing.md
index 67a8a82f2a3..a28f450c942 100644
--- a/src/doc/book/references-and-borrowing.md
+++ b/src/doc/book/references-and-borrowing.md
@@ -1,7 +1,7 @@
 % References and Borrowing
 
-This guide is two of three presenting Rust’s ownership system. This is one of
-Rust’s most unique and compelling features, with which Rust developers should
+This is the second of three sections presenting Rust’s ownership system. This is one of
+Rust’s most distinct and compelling features, with which Rust developers should
 become quite acquainted. Ownership is how Rust achieves its largest goal,
 memory safety. There are a few distinct concepts, each with its own
 chapter: