rustdoc: Fix an unindentation bug when collapsing

Turns out eagerly trimming comes back to bite you :(