diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-01-26 01:51:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-26 01:51:17 -0500 |
| commit | a70b0d5bdd4358b961fd62366d80174147c09a7e (patch) | |
| tree | e60317422809d8cefdf2ab89322d70c162d13fd2 /compiler/rustc_codegen_llvm/src/llvm/mod.rs | |
| parent | 666aaf912846337e9c2d2594f7be6f8483e05343 (diff) | |
| parent | 1d97a3e4d7f833675a8c5ae1120db915c99474d9 (diff) | |
| download | rust-a70b0d5bdd4358b961fd62366d80174147c09a7e.tar.gz rust-a70b0d5bdd4358b961fd62366d80174147c09a7e.zip | |
Rollup merge of #135946 - kornelski:rustdoc-path-space, r=notriddle
Remove extra whitespace from rustdoc breadcrumbs for copypasting The docs header used to display [item names with their full path](https://doc.rust-lang.org/1.82.0/std/os/unix/ffi/trait.OsStrExt.html), but a [recent design change](https://doc.rust-lang.org/1.83.0/std/os/unix/ffi/trait.OsStrExt.html) has split the path and added extra styling to it. The problem is the new styling affects how this text is copied to clipboard. I used to copy and paste the paths into `use` statements in the code, but the new styling has extra formatting and whitespace that makes copied text unusable in Rust source code. Instead of: > std::os::unix::ffi::OsStrExt I now get: > std > :: > os > :: > unix > :: > ffi > Trait OsStrExt This change removes extra whitespace from the markup, and removes `display: flex`. Paths (now in small text) are unlikely to be that long to wrap, and even then regular text wrapping should be sufficient.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/mod.rs')
0 files changed, 0 insertions, 0 deletions
