Skip to content

Instantly share code, notes, and snippets.

@rust-play
Created August 10, 2018 10:20
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/32d1891decd3e0dfcdf14f92ca123e63 to your computer and use it in GitHub Desktop.
Save rust-play/32d1891decd3e0dfcdf14f92ca123e63 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
struct S1<T> {
handle: u64,
}
pub fn main() {
let a: S1<u64> = S1{handle: 1};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment