]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/book/second-edition/src/ch03-02-data-types.md
New upstream version 1.23.0+dfsg1
[rustc.git] / src / doc / book / second-edition / src / ch03-02-data-types.md
index 788fc481b0148393c955d9bcf5425a5fa0b52e1a..2cb0d6cabb15d7ebdaf989b44c73ef4aea0756b9 100644 (file)
@@ -325,8 +325,9 @@ get the value `2` from index `[1]` in the array.
 
 ##### Invalid Array Element Access
 
-What happens if we try to access an element of an array that is past the end of
-the array? Say we change the example to the following:
+What happens if you try to access an element of an array that is past the end
+of the array? Say you change the example to the following code, which will
+compile but exit with an error when it runs:
 
 <span class="filename">Filename: src/main.rs</span>