From: Yufan Lou Date: Wed, 27 Mar 2019 04:30:04 +0000 (-0400) Subject: Remove paren around bonus question X-Git-Url: https://git.ralfj.de/rust-101.git/commitdiff_plain/6061ecdc4d3d73c3b833c0505bb7ddfd12e87802?ds=sidebyside;hp=-c Remove paren around bonus question --- 6061ecdc4d3d73c3b833c0505bb7ddfd12e87802 diff --git a/src/part10.rs b/src/part10.rs index 8563112..2ba31f3 100644 --- a/src/part10.rs +++ b/src/part10.rs @@ -169,8 +169,8 @@ fn filter_vec_by_divisor(v: &Vec, divisor: i32) -> Vec { // [Read its documentation here.](https://doc.rust-lang.org/stable/std/option/enum.Option.html#method.map) // Which functions in previous parts can you rewrite to use `map` instead? // (Hint: read the source code of `map`, and see if the pattern appears in your own code.) -// (Bonus: [`test_invariant` in Part 05](part05.html#section-6) doesn't use `match`, -// but can you still find a way to rewrite it with `map`?) +// Bonus: [`test_invariant` in Part 05](part05.html#section-6) doesn't use `match`, +// but can you still find a way to rewrite it with `map`? //@ [index](main.html) | [previous](part09.html) | [raw source](workspace/src/part10.rs) | //@ [next](part11.html)