Created
January 24, 2020 15:04
-
-
Save rust-play/639cb5c713460267ee6127a97375291c 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
struct A { | |
a: usize, | |
b: &'static str, | |
} | |
const LIST: [A; 1] = [ | |
A { a: 1, b: "hello" } | |
]; | |
fn main() { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment