Derivative at Endpoint
Solution 1:
I only can say that you are right in everything you write. This is an issue of definition. Rudin simply allows endpoints of the interval of definition of $f$ to be in the domain of the derivative. Others don't or only consider open intervals.