Skip to content

Instantly share code, notes, and snippets.

@vdeturckheim
Created June 21, 2018 16:37
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 vdeturckheim/8ccba8b5700f43fbce676f78df831261 to your computer and use it in GitHub Desktop.
Save vdeturckheim/8ccba8b5700f43fbce676f78df831261 to your computer and use it in GitHub Desktop.
fn sum(a: Vec<i32>) -> i32 {
a.iter().sum()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment