Skip to content

Commit

Permalink
Fix documentation: it's (&str s) not (str &s).
Browse files Browse the repository at this point in the history
  • Loading branch information
rillian authored and graydon committed Nov 3, 2010
1 parent 446932b commit c038261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/rust.texi
Expand Up @@ -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;
Expand Down

0 comments on commit c038261

Please sign in to comment.