diff options
| author | bors <bors@rust-lang.org> | 2014-02-09 18:46:28 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-02-09 18:46:28 -0800 |
| commit | d0affa5c8d99ec6d1096a3ba0cea12d6eb24d684 (patch) | |
| tree | 17b36056879a6c82dd119dc8184987618d066c5d /src | |
| parent | cf243f9b593d322f6bfaed906c42d2fc8e3d0ce7 (diff) | |
| parent | 66c036c293626bf38cd3c3635abbf0fa8c80260c (diff) | |
| download | rust-d0affa5c8d99ec6d1096a3ba0cea12d6eb24d684.tar.gz rust-d0affa5c8d99ec6d1096a3ba0cea12d6eb24d684.zip | |
auto merge of #12131 : brunoabinader/rust/list-find-doc-typo, r=alexcrichton
Replace ```v``` with ```ls```.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcollections/list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<T:Clone,U>(z: T, ls: @List<U>, 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. */ |
