In Dummit&Foote's Abstract Algebra on p.284, the authors give the definition of irreducibles(irreducible elements): "Suppose $r\in R$ is nonzero and is not a unit. Then $r$ is called irreducible in $R$ if whenever $r=ab$ with $a,b\in R$, at least one of $a$ or $b$ must be a unit in $R$. Otherwise $r$ is said to be reducible."
I am confused about the reason why the authors use the words "at least one of" in the above context: if both of $a$ and $b$ are units with $r=ab$ an irreducible element, then there must exist $a^{-1},b^{-1}\in R^{\times}$ s.t. $aa^{-1}=bb^{-1}=1$, hence $rb^{-1}a^{-1}=abb^{-1}a^{-1}=1$ implies that $r$ is also a unit, contrary to "Suppose $r\in R$ is nonzero and is not a unit".