The driveshaft is splined onto the pinion gear and bearing assembly. The rivet they speak of secures the shaft from sliding in and out on the pinion.

Check out my faq on this job at:
http://www.stovebolt.com/techtips/rear_end/index.html