Heine-Cantor Theorem

Theorem
Let $M_1 = \struct {A_1, d_1}$ and $M_2 = \struct {A_2, d_2}$ be metric spaces.

Let $M_1$ be compact.

Let $f: A_1 \to A_2$ be a continuous mapping.

Then $f$ is uniformly continuous.

Also see

 * Uniform Continuity on Metric Space does not imply Compactness