rustdoc: Fix and improve line break hints with the <wbr> tag

Prevents zero-width spaces from appearing in copy-pasted paths.

Puts line breaks after `::`.

Fixes #16555
auto merge of #16556 : pczarn/rust/wbr, r=alexcrichton

Prevents zero-width spaces from appearing in copy-pasted paths.

Fixes #16555