diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-09-28 09:18:54 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-09-28 09:18:54 +0300 |
commit | 261a2dcaab4decc941f08336a9f93f3818372a3c (patch) | |
tree | bddb48a794744c726ade72ab1bfbaa57a4858841 /src/lib.rs | |
parent | b048efb9e34066fb8c0c753bbaf9db3f22e6fa11 (diff) | |
download | roadmap-261a2dcaab4decc941f08336a9f93f3818372a3c.tar.gz |
Change: rustfmt
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -220,9 +220,7 @@ impl Roadmap { fn count_goals(&self) -> usize { self.steps .iter() - .map(|step| { - self.is_goal(step) - }) + .map(|step| self.is_goal(step)) .filter(|b| *b) .count() } |