In darts what does a leg mean?

When a player has got his score from 501, all the way to 0, finishing on a double or the bull.