Skip to content

Instantly share code, notes, and snippets.

@stmtk1
Created September 26, 2019 05:08
Show Gist options
  • Save stmtk1/fe56c14e10b25f67549b1149dfce9e8d to your computer and use it in GitHub Desktop.
Save stmtk1/fe56c14e10b25f67549b1149dfce9e8d to your computer and use it in GitHub Desktop.
fn main() {
println!("{}", (0_u128..).into_iter().fold(0, |a, b| a + b));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment