Let $R$ be a commutative unital ring with just one maximal ideal $I$. Then $R\backslash I \subset R^\times$, where $R^\times$ is the set of units of $R$.
My approach:
Since $I$ is maximal and $R$ is commutative, then $I$ is prime. Since $I$ is a subgroup of $R$, and $R$ is unital, $1\in I$, so $1\not\in R\backslash I$. Now, if $r\in R\backslash I$ then $r=1r\in I$ (since $I$ is prime), a contradiction. Hence $R\backslash I$ is empty (since $0$ is also in $I$). Therefore, $R\backslash I\subset R^\times$.
Do you think this is correct, or am I mistaken somewhere?