Fix some documentation typos in the `expansion` example