about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCarol Nichols <cnichols@thinkthroughmath.com>2014-11-07 14:59:42 -0500
committerCarol Nichols <cnichols@thinkthroughmath.com>2014-11-07 14:59:42 -0500
commitfc47dd9c0f20180ec50f31a9acc5fd0695a62267 (patch)
tree643bc7937b4bd6ef7fbd62510ab03a9c86e0f5fa
parent0b48001c28329392b26961eaf1c3ed293a352d6f (diff)
downloadrust-fc47dd9c0f20180ec50f31a9acc5fd0695a62267.tar.gz
rust-fc47dd9c0f20180ec50f31a9acc5fd0695a62267.zip
Prepend should be append in the 30 minute intro
The examples are about adding to the end of the array, not the
beginning.
-rw-r--r--src/doc/intro.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/intro.md b/src/doc/intro.md
index a197115da90..01697a3e0cb 100644
--- a/src/doc/intro.md
+++ b/src/doc/intro.md
@@ -217,7 +217,7 @@ including the right thing!) Even though we compiled with flags to give us as
 many warnings as possible, and to treat those warnings as errors, we got no
 errors. When we ran the program, it crashed.
 
-Why does this happen? When we prepend to an array, its length changes. Since
+Why does this happen? When we append to an array, its length changes. Since
 its length changes, we may need to allocate more memory. In Ruby, this happens
 as well, we just don't think about it very often. So why does the C++ version
 segfault when we allocate more memory?