Say f(x)= x+1.
Now $\lim \limits_{x \to 1}$ f(x), we can see easily that there is no hole in it or it is continuous everywhere. Since it is a straight line.
But when we write the same f(x) as,
f(x) = x+1 = (x+1)(x-1)/(x-1) = $(x^2-1)/(x-1)$.
$$\text{Or say g(x) }= (x^2-1)/(x-1)$$
i.e $\lim \limits_{x \to 1} g(x)=\lim \limits_{x \to 1}(x^2-1)/(x-1)$
In this site https://www.mathsisfun.com/calculus/limits.html it says g(x) has a hole at x=1. But isn't both f(x) and g(x) are same. Please explain. Thanks.