about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2016-02-24 19:55:49 +0100
committerFlorian Hahn <flo@fhahn.com>2016-02-24 19:56:28 +0100
commit145190bd2aec3b6ad9e4ed4da8490d810c9d0bee (patch)
tree8bd49894fa777aecc266e4a505f75427546a1a11
parent0ef8d426050318934d16d962325ec002eaf0c29d (diff)
downloadrust-145190bd2aec3b6ad9e4ed4da8490d810c9d0bee.tar.gz
rust-145190bd2aec3b6ad9e4ed4da8490d810c9d0bee.zip
Capitalize some occurences of Rust in documentation
-rw-r--r--src/doc/book/ownership.md2
-rw-r--r--src/doc/nomicon/other-reprs.md2
-rw-r--r--src/doc/reference.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/book/ownership.md b/src/doc/book/ownership.md
index 8f15544b20b..70d71c14ddf 100644
--- a/src/doc/book/ownership.md
+++ b/src/doc/book/ownership.md
@@ -157,7 +157,7 @@ this point of time). These two parts of the vector (the one on the stack and
 one on the heap) must agree with each other at all times with regards to
 things like the length, capacity etc.
 
-When we move `v` to `v2`, rust actually does a bitwise copy of the vector
+When we move `v` to `v2`, Rust actually does a bitwise copy of the vector
 object `v` into the stack allocation represented by `v2`. This shallow copy
 does not create a copy of the heap allocation containing the actual data.
 Which means that there would be two pointers to the contents of the vector
diff --git a/src/doc/nomicon/other-reprs.md b/src/doc/nomicon/other-reprs.md
index 2639c1d4d6f..b124f3ffc46 100644
--- a/src/doc/nomicon/other-reprs.md
+++ b/src/doc/nomicon/other-reprs.md
@@ -57,7 +57,7 @@ These reprs have no effect on a struct.
 
 # repr(packed)
 
-`repr(packed)` forces rust to strip any padding, and only align the type to a
+`repr(packed)` forces Rust to strip any padding, and only align the type to a
 byte. This may improve the memory footprint, but will likely have other negative
 side-effects.
 
diff --git a/src/doc/reference.md b/src/doc/reference.md
index 19c9b571a33..718822b2bd0 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -1764,7 +1764,7 @@ pub mod submodule {
 # fn main() {}
 ```
 
-For a rust program to pass the privacy checking pass, all paths must be valid
+For a Rust program to pass the privacy checking pass, all paths must be valid
 accesses given the two rules above. This includes all use statements,
 expressions, types, etc.