Created
March 19, 2019 17:28
-
-
Save rust-play/6186a0f3a54f468e1de8894996d12819 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
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
fn main() {} | |
fn inner(i: usize) -> &'static u32 { | |
let z = [1, 2, 3]; | |
&z[i] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment