Why is there the restriction that x1 cannot equal x2 in the geometric definition of the slope?

Why is there the restriction that x1 cannot equal x2 in the geometric definition of the slope?