In many texts, I have seen the following definition of continuity at a closed interval:
Let $f: [a,b] \to \mathbb{R}$. Let $x \in [a,b]$. Then $f$ is continuous at $x \in (a,b)$ if $\lim_{y \to x}f(y) = f(x)$ and for $x = a$, if $\lim_{y \to a+} f(y) = f(a)$ (similarly for $b$).
I really don't see the need in distinguishing the endpoints in the definition, because $\lim_{x \to a} f(x)$ is equal to the right limit, provided one of the two exists.
Can someone clarify?
You are right. At a left endpoint, by definition, the "two-sided" limit is the same as the right limit, because only arguments inside the domain are considered.