Proving that the Fourier coefficients of a functional determine it
I have the following exercise, taken from old homework of a functional analysis course:
Let $\mu\in C(\mathbb{T})^{*}$. Define the Fourier coefficients of $\mu$ by $$ \hat{\mu_{n}}=\mu(e^{2\pi int}) $$
Prove that if $\mu_{1},\mu_{2}$ have the same Fourier coefficients then $\mu_{1}=\mu_{2}$
I have tried to prove this by calculating $\mu_{1}(f)$ for $f\in C(\mathbb{T})$ and tried to prove that it is the same as $\mu_{2}(f)$.
My problem is that I have used $$ f=\sum_{-\infty}^{\infty}\hat{f}(n)e^{2\pi int} $$
which I was told that is not necessarily true in $C(\mathbb{T})$, but rather in $L^{2}$.
I was also told that I should of used the Stone-Weierstrass theorem, but I didn't understand how.
Can someone please explain how can I use S-W in order to solve the question ?