Fix rustdoc tests.
Upstream core::fmt changes.