Skip to content

Instantly share code, notes, and snippets.

@kunigami
Created March 11, 2019 02:15
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 kunigami/6c0da5db4d525e92d1374e842e403910 to your computer and use it in GitHub Desktop.
Save kunigami/6c0da5db4d525e92d1374e842e403910 to your computer and use it in GitHub Desktop.
let vec1 = vec![1, 2, 3];
let result;
{
let vec2 = vec![];
result = get_largest(&vec1, &vec2);
}
println!("{}", result.len());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment