Permalink
Browse files

x

  • Loading branch information...
stnbu committed Nov 16, 2018
1 parent c07893c commit dd0ba2fb283b78cd8869fc167395f9f99584eaab
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/main.rs
@@ -141,7 +141,13 @@ fn take_5() {
}
}
fn f_old() {
let sum = (0..101).fold(0, |sum, n| sum + n);
assert_eq!(sum, 5050);
}
fn main() {
f_old();
take_5();
f_ilter();
iter_consumer();

0 comments on commit dd0ba2f

Please sign in to comment.