Files
rust/compiler/rustc_ast/src
Matthias Krüger aa7f4520a1 Rollup merge of #93038 - GuillaumeGomez:block-doc-comments, r=notriddle
Fix star handling in block doc comments

Fixes #92872.

Some extra explanation about this PR and why https://github.com/rust-lang/rust/pull/92357 created this regression: when we merge doc comment kinds for example in:

```rust
/// he
/**
* hello
*/
#[doc = "boom"]
```

We don't want to remove the empty lines between them. However, to correctly compute the "horizontal trim", we still need it, so instead, I put back a part of the "vertical trim" directly in the "horizontal trim" computation so it doesn't impact the output buffer but allows us to correctly handle the stars.

r? ``@camelid``
2022-01-20 23:37:32 +01:00
..
2020-08-30 18:45:07 +03:00
2021-06-20 11:52:51 +02:00
2022-01-17 17:20:57 +00:00
2021-07-17 19:41:02 +02:00
2021-08-18 09:25:26 +02:00
2021-10-04 22:13:00 +02:00
2022-01-17 17:20:57 +00:00