From c0382617621b9728aa7e87b4b80928e33c4f338b Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Wed, 3 Nov 2010 14:12:30 -0700 Subject: Fix documentation: it's (&str s) not (str &s). --- doc/rust.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3