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
This commit is contained in:
commit
32db236342
@ -1,7 +1,7 @@
|
|||||||
% Lifetimes
|
% Lifetimes
|
||||||
|
|
||||||
This guide is three of three presenting Rust’s ownership system. This is one of
|
This is the last of three sections presenting Rust’s ownership system. This is one of
|
||||||
Rust’s most unique and compelling features, with which Rust developers should
|
Rust’s most distinct and compelling features, with which Rust developers should
|
||||||
become quite acquainted. Ownership is how Rust achieves its largest goal,
|
become quite acquainted. Ownership is how Rust achieves its largest goal,
|
||||||
memory safety. There are a few distinct concepts, each with its own chapter:
|
memory safety. There are a few distinct concepts, each with its own chapter:
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
% Ownership
|
% Ownership
|
||||||
|
|
||||||
This guide is one of three presenting Rust’s ownership system. This is one of
|
This is the first of three sections presenting Rust’s ownership system. This is one of
|
||||||
Rust’s most unique and compelling features, with which Rust developers should
|
Rust’s most distinct and compelling features, with which Rust developers should
|
||||||
become quite acquainted. Ownership is how Rust achieves its largest goal,
|
become quite acquainted. Ownership is how Rust achieves its largest goal,
|
||||||
memory safety. There are a few distinct concepts, each with its own
|
memory safety. There are a few distinct concepts, each with its own
|
||||||
chapter:
|
chapter:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
% References and Borrowing
|
% References and Borrowing
|
||||||
|
|
||||||
This guide is two of three presenting Rust’s ownership system. This is one of
|
This is the second of three sections presenting Rust’s ownership system. This is one of
|
||||||
Rust’s most unique and compelling features, with which Rust developers should
|
Rust’s most distinct and compelling features, with which Rust developers should
|
||||||
become quite acquainted. Ownership is how Rust achieves its largest goal,
|
become quite acquainted. Ownership is how Rust achieves its largest goal,
|
||||||
memory safety. There are a few distinct concepts, each with its own
|
memory safety. There are a few distinct concepts, each with its own
|
||||||
chapter:
|
chapter:
|
||||||
|
Loading…
Reference in New Issue
Block a user