Skip to content

Instantly share code, notes, and snippets.

@rust-play
Created September 21, 2018 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rust-play/56b8c60cb62e6b3d69ab465356162cb9 to your computer and use it in GitHub Desktop.
Save rust-play/56b8c60cb62e6b3d69ab465356162cb9 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
struct Foo;
const Foo: Foo = Foo(); // does not compile due to name clash
fn main() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment