rust/src
Matthias Krüger 85b69bf753
Rollup merge of #135641 - GuillaumeGomez:items-list, r=notriddle
[rustdoc] Replace module list items `ul`/`li` with `dl`/`dd`/`dt` elements

`@hywan` suggested that rustdoc should use `dl`,`dt` and `dd` HTML tags for listing items on module pages as it matches better what this is (an item and optionally its description). This is a very good idea so here is the implementation.

Also nice side-effect of this change: it reduces a bit the generated HTML since we go from:

This PR shouldn't impact page appearance.

```html
<ul class="item-table">
  <li>
    <div class="item-name">NAME</div>
    <div class="desc docblock-short">THE DOC</div>
  </li>
</ul>
```

to:

```html
<dl class="item-table">
  <dt>NAME</dt>
  <dd>THE DOC</dd>
</dl>
```

You can test it [here](https://rustdoc.crud.net/imperio/items-list/std/index.html).

r? `@notriddle`
2025-01-19 01:22:36 +01:00
..
bootstrap Auto merge of #135682 - matthiaskrgr:rollup-cl7zlt1, r=matthiaskrgr 2025-01-18 18:40:20 +00:00
build_helper apply a workaround fix for the release blocker issue 2025-01-07 09:12:54 +03:00
ci Auto merge of #135633 - marcoieni:ci-free-arm-linux, r=Kobzol 2025-01-18 21:27:25 +00:00
doc Rollup merge of #131806 - lolbinarycat:rustdoc-search-all-is-func, r=notriddle 2025-01-17 09:11:17 +01:00
etc Revert "fix missing rustfmt and clippy for msi" 2025-01-08 14:44:01 +01:00
gcc@fd3498bff0 Update GCC version 2024-09-06 16:01:46 +02:00
librustdoc Remove more CSS classes 2025-01-18 20:29:55 +01:00
llvm-project@7e8c93c87c Update to LLVM 19.1.7 2025-01-14 14:46:09 +01:00
rustc-std-workspace update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustdoc-json-types Made Path::name only have item name rather than full name 2025-01-14 06:03:43 +00:00
tools Auto merge of #135667 - weihanglo:update-cargo, r=weihanglo 2025-01-18 15:42:37 +00:00
README.md
stage0 bump stage0 2025-01-08 20:03:28 +01:00
version bump version 2025-01-03 10:36:06 +01:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.