Created
March 8, 2016 00:37
-
-
Save selfup/9dcc520396ba59ad6a86 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
fn add_positions<'a>(v_cc: &'a mut Vec<i32>, y: &Cell<i32>, x: &Cell<i32>) -> &'a mut Vec<i32> { | |
v_cc.push(x.get()); | |
v_cc.push(y.get()); | |
v_cc | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment