Skip to content

Instantly share code, notes, and snippets.

Created January 19, 2018 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8d184bf4e99326fb52e0591ebb231396 to your computer and use it in GitHub Desktop.
Save anonymous/8d184bf4e99326fb52e0591ebb231396 to your computer and use it in GitHub Desktop.
Rust code shared from the playground
fn main() {
let _ = (0..100).flat_map(|a| (0..100).map(|b| a * b)).sum::<u32>();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment