Skip to content

Instantly share code, notes, and snippets.

@ioncodes
Created February 8, 2018 21:03
Show Gist options
  • Save ioncodes/884e3f178ee1ac0235e7dd231cdca4c2 to your computer and use it in GitHub Desktop.
Save ioncodes/884e3f178ee1ac0235e7dd231cdca4c2 to your computer and use it in GitHub Desktop.
let mut w = trucks[i].weight;
let mut h = trucks[i].height;
w = 10;
h = 10;
trucks[i].weight = w;
trucks[i].height = h;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment