about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-02-24 02:11:32 -0500
committerGitHub <noreply@github.com>2025-02-24 02:11:32 -0500
commit81336525628e4f8f1696c918ec3622c1e3bd315e (patch)
tree5d6e2d7db740dd4dafe4b0e1f10243cf50b04e46 /compiler/rustc_codegen_llvm/src
parent6aa015ae9d7c0ebf95f1daabc77c5cb147b54d26 (diff)
parenta1471f3aa68ad97fc809e37c3c2c7b8b9e2ae227 (diff)
downloadrust-81336525628e4f8f1696c918ec3622c1e3bd315e.tar.gz
rust-81336525628e4f8f1696c918ec3622c1e3bd315e.zip
Rollup merge of #136991 - GuillaumeGomez:code-wrapping, r=notriddle
[rustdoc] Add new setting to wrap source code lines when too long

Fixes https://github.com/rust-lang/rust/issues/127334.

Wrapped lines look like this:

![image](https://github.com/user-attachments/assets/92006a27-ed1e-4beb-91f2-f453b72c5e1a)

It works in both source code pages and doc pages.

You can test it [here](https://rustdoc.crud.net/imperio/code-wrapping/bar/index.html).

r? ``@notriddle``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions