rust/src
Dylan DPC a0ba15bfab
Rollup merge of #95813 - Urgau:rustdoc-where-clause-space, r=GuillaumeGomez
Remove extra space before a where clause

Remove extra space before where clause in the generated documentation.

The fix is to move the space before the break-line so that it doesn't appear visually but is still here. Removing it completely would create things like this `impl<D> Delta<D>where D: MyTrait` (missing a space before the where) which I don't think we want.

Added two regression test, first one test that the `<br>` is after the space and the second check that the `<br>` is before the spaces.

Before:
![image](https://user-images.githubusercontent.com/3616612/162475212-d4bb6727-ed66-4a55-a4a2-4f55189bf8bd.png)

After:
![image](https://user-images.githubusercontent.com/3616612/162475467-508fd082-60a7-4a8c-b693-8b188e8843e6.png)

r? ``@GuillaumeGomez``
2022-04-19 22:57:40 +02:00
..
bootstrap Rollup merge of #95809 - ytmimi:llvm_stamp_typo, r=Mark-Simulacrum 2022-04-19 14:43:15 +02:00
ci
doc Rollup merge of #96086 - jsgf:remove-extern-location, r=davidtwco 2022-04-19 14:43:17 +02:00
etc Fix --bless not working anymore in htmldocck 2022-04-17 12:42:27 +02:00
librustdoc Rollup merge of #95813 - Urgau:rustdoc-where-clause-space, r=GuillaumeGomez 2022-04-19 22:57:40 +02:00
llvm-project@fd336816c3 Update LLVM submodule 2022-04-18 10:16:56 +02:00
rustdoc-json-types
test Rollup merge of #95813 - Urgau:rustdoc-where-clause-space, r=GuillaumeGomez 2022-04-19 22:57:40 +02:00
tools Rollup merge of #96142 - cjgillot:no-crate-def-index, r=petrochenkov 2022-04-19 14:43:21 +02:00
README.md
stage0.json
version

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

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