X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/63b7a79069a399c32d575bb71832fcad134117c9..793fb7fe9f77aa176f40e405a8b7c6814c454e46:/src/part09.rs diff --git a/src/part09.rs b/src/part09.rs index ecb9ffa..0ca4a43 100644 --- a/src/part09.rs +++ b/src/part09.rs @@ -89,7 +89,7 @@ fn print_digits_v2(b: &BigInt) { // **Exercise 09.1**: Write a testcase for the iterator, making sure it yields the corrects numbers. // -// **Exercise 09.2**: Write a function `iter_ldf` that iterators over the digits with the least-significant +// **Exercise 09.2**: Write a function `iter_ldf` that iterates over the digits with the least-significant // digits coming first. Write a testcase for it. // ## Iterator invalidation and lifetimes @@ -146,4 +146,4 @@ impl<'a> IntoIterator for &'a BigInt { //@ then you will obtain ownership of the elements during the iteration - and destroy the vector in the process. We actually did that in //@ `part01::vec_min`, but we did not care. You can write `for e in &v` or `for e in v.iter()` to avoid this. -//@ [index](main.html) | [previous](part08.html) | [raw source](https://www.ralfj.de/git/rust-101.git/blob_plain/HEAD:/workspace/src/part09.rs) | [next](part10.html) +//@ [index](main.html) | [previous](part08.html) | [raw source](workspace/src/part09.rs) | [next](part10.html)