Skip to content

Instantly share code, notes, and snippets.

@BadUncleX
Created December 29, 2019 07:35
Show Gist options
  • Save BadUncleX/5355f0168347cc37ff31d2b2a5c58a0c to your computer and use it in GitHub Desktop.
Save BadUncleX/5355f0168347cc37ff31d2b2a5c58a0c to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
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