aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
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;