The intercept on the line $y=x$ by the circle $x^2+y^2-2 x=0$ is $A B$. Equation of the circle on $\mathrm{AB}$ as a diameter is