X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/b30edaca267b5900279eb43b5a70889899bad62d..706bf6cb37885ca97a49f772de00b535cf3dbf9f:/workspace/src/part10.rs?ds=inline diff --git a/workspace/src/part10.rs b/workspace/src/part10.rs index c955394..8fc650f 100644 --- a/workspace/src/part10.rs +++ b/workspace/src/part10.rs @@ -92,7 +92,7 @@ fn filter_vec_by_divisor(v: &Vec, divisor: i32) -> Vec { unimplemented!() } -// **Exercise 10.1**: Look up the [documentation of `Iterator`](http://doc.rust-lang.org/stable/std/iter/trait.Iterator.html) to learn about more functions +// **Exercise 10.1**: Look up the [documentation of `Iterator`](https://doc.rust-lang.org/stable/std/iter/trait.Iterator.html) to learn about more functions // that can act on iterators. Try using some of them. What about a function that sums the even numbers of an iterator? Or a function that computes the // product of those numbers that sit at odd positions? A function that checks whether a vector contains a certain number? Whether all numbers are // smaller than some threshold? Be creative!