Fix documentation: it's (&str s) not (str &s).
This commit is contained in:
parent
446932b5bc
commit
c038261762
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue