Skip to content

Instantly share code, notes, and snippets.

@rust-play
Created March 14, 2018 00:51
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 rust-play/314784bdd891b3ec13fe4aef4543c390 to your computer and use it in GitHub Desktop.
Save rust-play/314784bdd891b3ec13fe4aef4543c390 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
fn foo<'a, I>(grr: I) where I: Iterator<Item=String> {
let numbers = grr.map(|s| s.parse::<f64>());
}
fn main() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment