about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorRené Kijewski <rene.kijewski@fu-berlin.de>2024-07-21 02:28:04 +0200
committerRené Kijewski <rene.kijewski@fu-berlin.de>2024-07-21 02:28:04 +0200
commit95335444f7171c4582fd56f20ade6f84da84c984 (patch)
tree0b8776652d41e223122dd88aba53f9761a02f645 /compiler/rustc_parse/src/errors.rs
parent5069856495870486134dd2ca0b0e2516308c5c2a (diff)
downloadrust-95335444f7171c4582fd56f20ade6f84da84c984.tar.gz
rust-95335444f7171c4582fd56f20ade6f84da84c984.zip
rustdoc: short descr. cause word-breaks in tables
The `.item-table` class is used to display name+description lists, e.g.
the exported functions, as a table. If the names are long and the
descriptions are short, then the width of the table does not expand to
the whole size, but only uses a fraction. This causes a some names to
break inside a word.

This change makes the table always use 100% of its parent width. The
`.width-limiter` wrapper already ensures that the used width still does
not become excessive.

Signed-off-by: René Kijewski <rene.kijewski@fu-berlin.de>
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions