Just James is right, the iron doesnt rust because the magnesium is more reactive than it. The magnesium works like a sacrificial anode, making the nail a cathode. The electrons move through the electrolyte, as do the ions. The iron deposits on the nail and the magnesium corrodes until either all...