Minimum Distance Equals Minimum Weight