From 66c036c293626bf38cd3c3635abbf0fa8c80260c Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Sun, 9 Feb 2014 12:45:28 -0400 Subject: [PATCH] Fixed a typo in list's find() documentation. --- src/libcollections/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollections/list.rs b/src/libcollections/list.rs index 79d0f3f49a7..06ec24bdc9d 100644 --- a/src/libcollections/list.rs +++ b/src/libcollections/list.rs @@ -46,7 +46,7 @@ pub fn foldl(z: T, ls: @List, f: |&T, &U| -> T) -> T { /** * Search for an element that matches a given predicate * - * Apply function `f` to each element of `v`, starting from the first. + * Apply function `f` to each element of `ls`, starting from the first. * When function `f` returns true then an option containing the element * is returned. If `f` matches no elements then none is returned. */