Skip to content

Commit

Permalink
Rollup merge of rust-lang#33095 - xogeny:xogeny-patch-1, r=steveklabnik
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Manishearth committed Apr 27, 2016
2 parents d9c9c32 + f7ec687 commit cc00ebe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/doc/book/lifetimes.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
4 changes: 2 additions & 2 deletions src/doc/book/ownership.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions src/doc/book/references-and-borrowing.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit cc00ebe

Please sign in to comment.