Last active
March 13, 2019 17:53
-
-
Save kunigami/91c7979977cf45098949d85b04674004 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let vec1 = vec![1, 2, 3]; | |
{ | |
let vec2 = vec![]; | |
let result = get_largest_with_lifetime(&vec1, &vec2); | |
println!("{}", result.len()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment