Fix rustdoc's formatting of lifetimes

rustdoc was previously formatting lifetimes with two apostrophes, presumably as a result of #14797.
Hm, I thought static lifetimes should be stored as `'static`. This possibly indicates a deeper bug.