Skip to content

Instantly share code, notes, and snippets.

@rust-play
Created March 14, 2018 00:50
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/b9a16caaf1ff67b3ce160ca338eba98f to your computer and use it in GitHub Desktop.
Save rust-play/b9a16caaf1ff67b3ce160ca338eba98f 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=&'a str> {
let numbers = grr.map(str::parse::<f64>);
}
fn main() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment