about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>2022-01-11 17:36:52 -0800
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>2022-01-14 18:08:24 -0800
commit4d5a6c90b1df5590c1c1801baf51903520af012c (patch)
tree87da222585f582b78356d0b76c7a6c01f71fce6e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentad46af24713115e7b9b258346e66b9b2d14eacfc (diff)
downloadrust-4d5a6c90b1df5590c1c1801baf51903520af012c.tar.gz
rust-4d5a6c90b1df5590c1c1801baf51903520af012c.zip
Enable wrapping words by default
Faced with a very long word, browsers will let it overflow its
box horizontally rather than break it in the middle. We essentially
never want that behavior. We would rather break the word and keep it
inside its horizontal limits. So we apply a default overflow-wrap:
break-word/anywhere to the document as a while.

In some contexts we would rather add a horizontal scrollbar (code
blocks), or elide the excess text with an ellipsis (sidebar). Those
still work as expected.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions