rustdoc: Tweaking test generation

Commits have the descriptions.