In Rudin Real and Complex Analysis there is an exercise (6, Ch. 4) that asks to show that a countably infinite orthonormal set $\{u_n:n\in\mathbb{N}\}$ in a Hilbert space $H$ is closed and bounded but not compact.
That it is bounded and not compact is easy, but I really can't figure out why it is necessarily closed. If $\|u_{n_k}-x\|\to 0$ for some $x\in H$, why would $x\in\{u_n\}$?