Skip to content

Commit c038261

Browse files
rilliangraydon
authored andcommitted
Fix documentation: it's (&str s) not (str &s).
1 parent 446932b commit c038261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: doc/rust.texi

+1-1
Original file line numberDiff line numberDiff line change
@@ -3149,7 +3149,7 @@ fn read_file_lines(&str path) -> vec[str] @{
31493149
note path;
31503150
vec[str] r;
31513151
file f = open_read(path);
3152-
for each (str &s in lines(f)) @{
3152+
for each (&str s in lines(f)) @{
31533153
vec.append(r,s);
31543154
@}
31553155
ret r;

0 commit comments

Comments
 (0)