Skip to content

Instantly share code, notes, and snippets.

@nikomatsakis
Created January 21, 2012 22:02
Show Gist options
  • Save nikomatsakis/1654210 to your computer and use it in GitHub Desktop.
Save nikomatsakis/1654210 to your computer and use it in GitHub Desktop.
fn foo() -> {x: int, y: int} {
let x_coord = ...;
let y_coord = ...;
ret {y: y_coord, x: x_coord};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment