Is there a fault in exercice 9.3.1 b) from Analysis by Zorich? The exercice asks to prove that a subset of a metric space is compact if and only if it is totally bounded and closed. But I have a counterexample for it: Consider the open unit ball $B(0,1)$ in $\mathbb{R}^n$ as a metric space itself. Then it is closed in itself and totally bounded, but not compact.
Am I right?