aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/rust.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/rust.texi b/doc/rust.texi
index 6ba9d618..1576f4f8 100644
--- a/doc/rust.texi
+++ b/doc/rust.texi
@@ -3149,7 +3149,7 @@ fn read_file_lines(&str path) -> vec[str] @{
note path;
vec[str] r;
file f = open_read(path);
- for each (str &s in lines(f)) @{
+ for each (&str s in lines(f)) @{
vec.append(r,s);
@}
ret r;