Question

$$lim_{x\rightarrow1}(x^{2}-2x+2)^{\frac{1}{x-1}}$$