SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn pairwise_sum(it: impl Iterator<Item = (u64, u64)>) -> (u64, u64) {
  2.     it.fold((0, 0), |(sx, sy), (x, y)| (sx + x, sy + y))
  3. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top