diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-07 15:12:53 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-07 15:12:53 +0000 |
commit | 9a88332452d661d4afea10f0063c893142e08019 (patch) | |
tree | 6c86ff943373b9e20f5c7cd877706aacacc9a505 /crates/completion/src/completions | |
parent | 6df91a84dc129b13dc58db510e68c5eb04297087 (diff) | |
parent | 93262c750e65dcc58b9a87b9efdec55177269210 (diff) |
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 <[email protected]>
Diffstat (limited to 'crates/completion/src/completions')
0 files changed, 0 insertions, 0 deletions