rust-analyzer/crates
bors[bot] 9a88332452
Merge #6743
6743: Don't insert blank lines between doc attributes r=Veykril a=Veykril

Fixes #6742.
Doc attributes should be concatenated via a single linebreak as written in the [rustdoc book](https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html).
Also changed the loop to use an iterator to get rid of the `docs.trim_end_matches("\n\n").to_owned()` part using `Itertools::intersperse`.

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2020-12-07 15:12:53 +00:00
..
arena Add TBD description to arena 2020-08-24 13:29:10 +02:00
assists Add replace_match_with_if_let assist 2020-12-05 15:41:36 +01:00
base_db Compress code 2020-11-17 11:52:28 +01:00
cfg Remove dead code 2020-11-17 15:25:57 +01:00
completion Update attributes completion list 2020-12-06 16:46:24 +01:00
flycheck Pin cargo_metadata 2020-11-25 10:11:53 -05:00
hir Add slightly more profiling details 2020-12-04 20:26:28 +01:00
hir_def Don't insert blank lines between doc attributes 2020-12-07 16:10:46 +01:00
hir_expand Make compile_error! message match upstream rustc 2020-12-03 19:07:37 +01:00
hir_ty Upgrade Chalk 2020-12-07 11:48:58 +01:00
ide Don't insert blank lines between doc attributes 2020-12-07 16:10:46 +01:00
ide_db Add slightly more profiling details 2020-12-04 20:26:28 +01:00
mbe Add dedicated error for "proc macro not found" 2020-11-27 13:50:20 +01:00
parser Parse unsafe extern block 2020-11-22 20:44:56 -08:00
paths Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_api Don't respawn proc macro server on crash 2020-12-04 20:11:56 +01:00
proc_macro_srv Pin cargo_metadata 2020-11-25 10:11:53 -05:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Deny unreachable-pub 2020-11-02 14:07:08 +01:00
project_model Pin cargo_metadata 2020-11-25 10:11:53 -05:00
rust-analyzer Apply suggestions from code review 2020-12-06 14:23:55 +01:00
ssr Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
stdx add open Cargo.toml action 2020-11-12 17:48:07 -08:00
syntax Add replace_match_with_if_let assist 2020-12-05 15:41:36 +01:00
test_utils Feedback. 2020-11-02 10:57:31 -07:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Simplify error formatting 2020-11-26 21:07:15 +02:00
vfs Extract tests module to file in vfs crate 2020-12-01 00:10:12 +09:00
vfs-notify Follow symlinks when walking project trees 2020-10-15 14:22:36 -04:00