Created
December 29, 2019 07:35
-
-
Save BadUncleX/5355f0168347cc37ff31d2b2a5c58a0c 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() { | |
let a: Vec<i32> = vec![]; | |
let b: [i32;0] = []; | |
let v_type: () = a; | |
let v_type:() = b ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment