Skip to content

Commit 66c036c

Browse files
committed
Fixed a typo in list's find() documentation.
1 parent 2780d9d commit 66c036c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub fn foldl<T:Clone,U>(z: T, ls: @List<U>, f: |&T, &U| -> T) -> T {
4646
/**
4747
* Search for an element that matches a given predicate
4848
*
49-
* Apply function `f` to each element of `v`, starting from the first.
49+
* Apply function `f` to each element of `ls`, starting from the first.
5050
* When function `f` returns true then an option containing the element
5151
* is returned. If `f` matches no elements then none is returned.
5252
*/

0 commit comments

Comments
 (0)