rust/tests/rustdoc-gui/src/test_docs
Jacob Pratt 8133652562
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``
2025-02-24 02:11:32 -05:00
..
build.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
Cargo.lock Move /src/test to /tests 2023-01-11 09:32:08 +00:00
Cargo.toml Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lib.rs Rollup merge of #136991 - GuillaumeGomez:code-wrapping, r=notriddle 2025-02-24 02:11:32 -05:00
macros.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00