Skip to content

Instantly share code, notes, and snippets.

@eschnett
Created March 20, 2018 18:08
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 eschnett/f5aa4bc4bf9fdf291860e06f986096c4 to your computer and use it in GitHub Desktop.
Save eschnett/f5aa4bc4bf9fdf291860e06f986096c4 to your computer and use it in GitHub Desktop.
struct Point2d<T>(T, T);
struct Point3d<T>(T, T, T);
fn do_stuff<P, T>(p: P<T>) -> P<T> {
p
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment