Fix documentation: it's (&str s) not (str &s).
This commit is contained in:
parent
446932b5bc
commit
c038261762
@ -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…
x
Reference in New Issue
Block a user