rustdoc: Render where clauses as appropriate

Fix #16546
Can you confirm that we don't see extra spaces if there are no where clauses for this and the cases below/above?