aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-13 14:22:33 -0700
committerGraydon Hoare <[email protected]>2010-07-13 14:22:33 -0700
commit02bdc27f5ac284dc8eb177c24002b9b61793bbf0 (patch)
tree00ca6ef1498e230d6519c0a3e4980dcaab8717d7 /doc
parentAdd another pile of LLVM bindings. (diff)
downloadrust-02bdc27f5ac284dc8eb177c24002b9b61793bbf0.tar.xz
rust-02bdc27f5ac284dc8eb177c24002b9b61793bbf0.zip
Doc fix.
Diffstat (limited to 'doc')
-rw-r--r--doc/rust.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/rust.texi b/doc/rust.texi
index 4b2689df..9dc6ea59 100644
--- a/doc/rust.texi
+++ b/doc/rust.texi
@@ -3033,7 +3033,7 @@ fn read_file_lines(&str path) -> vec[str] @{
note path;
vec[str] r;
file f = open_read(path);
- for* (str &s = lines(f)) @{
+ for each (str &s = lines(f)) @{
vec.append(r,s);
@}
ret r;