Rotating an edge around another without stretching edges
In the Pivot Point menu, select Active Element, then do the rotation (around the Y axis in this case, so R/Y)

The Active Element is the last selected element, it appears in white instead of yellow.